From 06b0f756bd98c3fe5932f94c15c14ab25acacc46 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 20 Jan 2016 18:35:07 -0500 Subject: [PATCH] Fix test to reflect change in the status code returned for no torrent available --- test/registry_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()