From 3ce9d68a3e3837085adcb971c4014364510d1843 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 20 Dec 2017 11:43:55 -0500 Subject: [PATCH] Fix broken registry test Flask now returns a 404 error, rather than redirecting like it used to do --- test/registry_tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/registry_tests.py b/test/registry_tests.py index c7eabc76a..5d211f8df 100644 --- a/test/registry_tests.py +++ b/test/registry_tests.py @@ -1366,11 +1366,11 @@ class V1RegistryTests(V1RegistryPullMixin, V1RegistryPushMixin, RegistryTestsMix def test_users(self): # Not logged in, should 404. - self.conduct('GET', '/v1/users', expected_code=404) + self.conduct('GET', '/v1/users/', expected_code=404) # Try some logins. - self.conduct('POST', '/v1/users', json_data={'username': 'freshuser'}, expected_code=400) - resp = self.conduct('POST', '/v1/users', + self.conduct('POST', '/v1/users/', json_data={'username': 'freshuser'}, expected_code=400) + resp = self.conduct('POST', '/v1/users/', json_data={'username': 'devtable', 'password': 'password'}, expected_code=400)