def test_wait(self): ''' Test to fire an event on the Salt master ''' self.assertDictEqual(event.wait("salt"), { 'changes': {}, 'comment': '', 'name': 'salt', 'result': True })
def test_wait(self): ''' Test to fire an event on the Salt master ''' self.assertDictEqual(event.wait("salt"), {'changes': {}, 'comment': '', 'name': 'salt', 'result': True} )
def test_wait(self): """ Test to fire an event on the Salt master """ self.assertDictEqual( event.wait("salt"), { "changes": {}, "comment": "", "name": "salt", "result": True }, )
def test_wait(): """ Test to fire an event on the Salt master """ assert event.wait("salt") == { "changes": {}, "comment": "", "name": "salt", "result": True, } assert event.wait("salt", sfun="some_function") == { "changes": {}, "comment": "", "name": "salt", "result": True, } assert event.wait("salt", data={"random": "data"}) == { "changes": {}, "comment": "", "name": "salt", "result": True, }