def test_wait_call(self): ''' Test to run wait_call. ''' name = 'cmd.script' func = 'myfunc' ret = {'name': name, 'result': True, 'changes': {}, 'comment': ''} self.assertDictEqual(cmd.wait_call(name, func), ret)
def test_wait_call(self): """ Test to run wait_call. """ name = "cmd.script" func = "myfunc" ret = {"name": name, "result": True, "changes": {}, "comment": ""} self.assertDictEqual(cmd.wait_call(name, func), ret)
def test_wait_call(): """ Test to run wait_call. """ name = "cmd.script" func = "myfunc" ret = {"name": name, "result": True, "changes": {}, "comment": ""} assert cmd.wait_call(name, func) == ret