Fix test to reflect change in the status code returned for no torrent available

This commit is contained in:
Joseph Schorr 2016-01-20 18:35:07 -05:00
parent 60ef73a226
commit 06b0f756bd

View file

@ -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()