def test_get_monitor(self): w = Workflow('test', 10) monitor = w._get_monitor(list([('localhost', 10)]), list(), self.logdir, True) self.assertNotEqual(monitor, None)