Esempio n. 1
0
    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)
Esempio n. 2
0
    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)
Esempio n. 3
0
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
Esempio n. 4
0
    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)