diff --git a/test/registry_tests.py b/test/registry_tests.py index d5d801c53..69759e444 100644 --- a/test/registry_tests.py +++ b/test/registry_tests.py @@ -1324,7 +1324,7 @@ class SquashingTests(RegistryTestCaseMixin, V1RegistryPushMixin, LiveServerTestC # squashed image doesn't yet exist. self.conduct('GET', '/c1/squash/devtable/newrepo/latest', auth=('devtable', 'password'), headers=dict(accept='application/x-bittorrent'), - expected_code=404) + expected_code=406) # Pull the squashed version of the tag. tar, squashed = self.get_squashed_image()