Let utils_test run directly too.

This commit is contained in:
David Wilson 2017-10-02 14:36:36 +05:30
parent 690ee6dbe2
commit bee1a86aa1
1 changed files with 4 additions and 0 deletions

View File

@ -30,3 +30,7 @@ class WithRouterTest(unittest.TestCase):
router = func()
self.assertTrue(isinstance(router, mitogen.master.Router))
self.assertFalse(router.broker._thread.isAlive())
if __name__ == '__main__':
unittest.main()