Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Commit cfb29b5

Browse files
committed
Updated test case
1 parent f38c654 commit cfb29b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/image_streamer/resources/test_os_volumes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,6 @@ def test_download_archive_called_once_with_uri(self, mock_download):
9191

9292
@mock.patch.object(ResourceClient, 'get')
9393
def test_get_storage(self, mock_get):
94-
uri = '/rest/os-volumes/3518be0e-17c1-4189-8f81-83f3724f6155/storage'
95-
self._client.get(uri)
94+
volume_id = '3518be0e-17c1-4189-8f81-83f3724f6155'
95+
self._client.get_storage(volume_id)
9696
mock_get.assert_called_once_with('/rest/os-volumes/3518be0e-17c1-4189-8f81-83f3724f6155/storage')

0 commit comments

Comments
 (0)