def test_mod_watch(self): ''' Test to call this function via a watch statement ''' ret = {'name': 'salt', 'changes': {}, 'result': True, 'comment': ''} ret.update({'changes': {'Requisites with changes': []}, 'comment': 'Watch statement fired.'}) self.assertDictEqual(test.mod_watch('salt'), ret)
def test_mod_watch(self): ''' Test to call this function via a watch statement ''' ret = {'name': 'salt', 'changes': {}, 'result': True, 'comment': ''} ret.update({'changes': {'Requisites with changes': []}, 'comment': 'Watch statement fired.'}) self.assertDictEqual(test.mod_watch('salt'), ret)
def test_mod_watch(self): """ Test to call this function via a watch statement """ ret = {"name": "salt", "changes": {}, "result": True, "comment": ""} ret.update({ "changes": { "Requisites with changes": [] }, "comment": "Watch statement fired.", }) self.assertDictEqual(test.mod_watch("salt"), ret)