Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9e7944835e |
@@ -276,7 +276,9 @@ class TestDockerProxy:
|
|||||||
response = client.get("/v2/docker-test/library/nginx/manifests/v1.25.3")
|
response = client.get("/v2/docker-test/library/nginx/manifests/v1.25.3")
|
||||||
|
|
||||||
assert response.status_code == 200
|
assert response.status_code == 200
|
||||||
deps["storage"].upload.assert_called_once_with(deps["storage"].get_object_key.return_value, manifest)
|
deps["storage"].upload.assert_called_once_with(
|
||||||
|
deps["storage"].get_object_key.return_value, manifest
|
||||||
|
)
|
||||||
|
|
||||||
def test_tag_manifest_digest_key_not_written_when_already_exists(self, client, patched_deps):
|
def test_tag_manifest_digest_key_not_written_when_already_exists(self, client, patched_deps):
|
||||||
# When the digest key already exists in storage upload must not be called.
|
# When the digest key already exists in storage upload must not be called.
|
||||||
|
|||||||
Reference in New Issue
Block a user