Merge "Refactor: change 403 status codes in test names"
This commit is contained in:
commit
8500d76e35
@ -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)
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user