From 1449c972eb1b30d24224ab2e8984ea78c4f5fb46 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Thu, 28 Sep 2017 14:37:27 +0530 Subject: [PATCH] Allow running responder_test with unittest. --- tests/responder_test.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/responder_test.py b/tests/responder_test.py index 80729a21..fb961cb9 100644 --- a/tests/responder_test.py +++ b/tests/responder_test.py @@ -75,3 +75,9 @@ class BrokenModulesTest(unittest.TestCase): msg, = call[1] self.assertEquals(50, msg.handle) self.assertTrue(isinstance(msg.unpickle(), tuple)) + + +if __name__ == '__main__': + import logging + logging.basicConfig(level=logging.DEBUG) + unittest.main()