Skip to content

Commit

Permalink
Fixes test case based on the new change
Browse files Browse the repository at this point in the history
  • Loading branch information
verdan committed Apr 25, 2019
1 parent f852db4 commit 5dc7171
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ def test_get_entity_by_guid(self, mocker, entity_guid_response, entity_guid):
assert entity_guid._data['entity']['status'] == 'ACTIVE'

def test_update_entity_by_guid(self, mocker, entity_guid_response, entity_guid):
mocker.patch.object(entity_guid.client, 'get')
entity_guid.client.get.return_value = entity_guid_response
mocker.patch.object(entity_guid.client, 'request')
entity_guid.client.request.return_value = entity_guid_response
mocker.patch.object(entity_guid.client, 'put')
attribute = 'description'
entity_guid.update(attribute=attribute)
Expand Down

0 comments on commit 5dc7171

Please sign in to comment.