Merge "Refactor: change 403 status codes in test names"

This commit is contained in:
Jenkins 2015-10-12 16:19:39 +00:00 committed by Gerrit Code Review
commit 8500d76e35
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ class ExceptionTestCase(unit.BaseTestCase):
self.assertValidJsonRendering(e)
self.assertIn(target, six.text_type(e))
def test_403_title(self):
def test_forbidden_title(self):
e = exception.Forbidden()
resp = wsgi.render_exception(e)
j = jsonutils.loads(resp.body)

View File

@ -3234,7 +3234,7 @@ class ServiceProviderTests(FederationTests):
"""Update immutable attributes in service provider.
In this particular case the test will try to change ``id`` attribute.
The server should return an HTTP 403 error code.
The server should return an HTTP 403 Forbidden error code.
"""
new_sp_ref = {'id': uuid.uuid4().hex}