diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2013-08-20 17:51:08 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2013-08-20 17:51:08 -0300 |
commit | 9ec62e91c5e68084f45eace46ff1fd892d8fd238 (patch) | |
tree | eaf036ac43ec9778024382b7797836e96a5c4d92 /src/leap/bitmask/util | |
parent | ec7a9bf80e2a0c2c9dc1c160c065524d1e1d6b95 (diff) |
Improve test coverage for StreamToLogger.
Diffstat (limited to 'src/leap/bitmask/util')
-rw-r--r-- | src/leap/bitmask/util/tests/test_streamtologger.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/leap/bitmask/util/tests/test_streamtologger.py b/src/leap/bitmask/util/tests/test_streamtologger.py index c4e55b3a..fc97b794 100644 --- a/src/leap/bitmask/util/tests/test_streamtologger.py +++ b/src/leap/bitmask/util/tests/test_streamtologger.py @@ -117,6 +117,10 @@ class StreamToLoggerTest(BaseLeapTest): self.assertEqual(log, message) self.assertEqual(log_level, logging.ERROR) + def test_twisted_log(self): + from twisted.python import log + log.startLogging(sys.stdout) + if __name__ == "__main__": unittest.main(verbosity=2) |