summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/util
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-08-21 13:49:57 -0300
committerTomás Touceda <chiiph@leap.se>2013-08-21 13:49:57 -0300
commite5e297ba4d8d464074ad8f0fa55be94ad66c5a43 (patch)
treed196680841a7c36b519e4b51b140c9317a60de71 /src/leap/bitmask/util
parentd855ee1018fc9899ad3974f7909dc6f6276ab28b (diff)
parent9ec62e91c5e68084f45eace46ff1fd892d8fd238 (diff)
Merge remote-tracking branch 'ivan/feature/improve-coverage' into develop
Diffstat (limited to 'src/leap/bitmask/util')
-rw-r--r--src/leap/bitmask/util/tests/test_streamtologger.py4
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)