Skip to content

Commit

Permalink
fix UT
Browse files Browse the repository at this point in the history
  • Loading branch information
VenkateshRavula committed Jun 8, 2020
1 parent 7beb787 commit 9510474
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_oneview_volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,10 @@ def test_should_remove_volume_with_suppress_device_updates(self):
)

def test_update_should_do_nothing_when_volume_already_exists_with_template(self):
self.resource.data = PARAMS_FOR_UPDATE_template["data"]
self.resource.data = PARAMS_FOR_PRESENT["data"]
self.resource.get_by_name.return_value = self.resource

self.mock_ansible_module.params = PARAMS_FOR_PRESENT
self.mock_ansible_module.params = PARAMS_FOR_UPDATE_template

VolumeModule().run()

Expand Down

0 comments on commit 9510474

Please sign in to comment.