(self)
| 176 | ) |
| 177 | |
| 178 | def test_import_image_from_image(self): |
| 179 | self.client.import_image( |
| 180 | image=fake_api.FAKE_IMAGE_NAME, |
| 181 | repository=fake_api.FAKE_REPO_NAME, |
| 182 | tag=fake_api.FAKE_TAG_NAME |
| 183 | ) |
| 184 | |
| 185 | fake_request.assert_called_with( |
| 186 | 'POST', |
| 187 | f"{url_prefix}images/create", |
| 188 | params={ |
| 189 | 'repo': fake_api.FAKE_REPO_NAME, |
| 190 | 'tag': fake_api.FAKE_TAG_NAME, |
| 191 | 'fromImage': fake_api.FAKE_IMAGE_NAME |
| 192 | }, |
| 193 | data=None, |
| 194 | timeout=DEFAULT_TIMEOUT_SECONDS |
| 195 | ) |
| 196 | |
| 197 | def test_inspect_image(self): |
| 198 | self.client.inspect_image(fake_api.FAKE_IMAGE_NAME) |
nothing calls this directly
no test coverage detected