summaryrefslogtreecommitdiffstats
path: root/newton/newton/registration/tests/test_registration.py
diff options
context:
space:
mode:
Diffstat (limited to 'newton/newton/registration/tests/test_registration.py')
-rw-r--r--newton/newton/registration/tests/test_registration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/newton/newton/registration/tests/test_registration.py b/newton/newton/registration/tests/test_registration.py
index cfc2cd59..5481822f 100644
--- a/newton/newton/registration/tests/test_registration.py
+++ b/newton/newton/registration/tests/test_registration.py
@@ -291,7 +291,7 @@ class TestRegistration(test_base.TestRequest):
"registry"), "{}", content_type="application/json",
HTTP_X_AUTH_TOKEN=mock_info.MOCK_TOKEN_ID)
- self.assertEquals(status.HTTP_500_INTERNAL_SERVER_ERROR,
+ self.assertEquals(status.HTTP_204_NO_CONTENT,
response.status_code)
@mock.patch.object(VimDriverUtils, 'get_session')