Fix test to reflect change in the status code returned for no torrent available
This commit is contained in:
parent
60ef73a226
commit
06b0f756bd
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Reference in a new issue