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

Commit f38c654

Browse files
committed
Updated test case to increase the coverage
1 parent d7f6cf0 commit f38c654

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
@@ -90,7 +90,7 @@ def test_download_archive_called_once_with_uri(self, mock_download):
9090
'~/archive.log')
9191

9292
@mock.patch.object(ResourceClient, 'get')
93-
def test_get_storage(self, mock_download):
93+
def test_get_storage(self, mock_get):
9494
uri = '/rest/os-volumes/3518be0e-17c1-4189-8f81-83f3724f6155/storage'
9595
self._client.get(uri)
96-
mock_download.assert_called_once_with('/rest/os-volumes/3518be0e-17c1-4189-8f81-83f3724f6155/storage')
96+
mock_get.assert_called_once_with('/rest/os-volumes/3518be0e-17c1-4189-8f81-83f3724f6155/storage')

0 commit comments

Comments
 (0)