Rephrasing
This commit is contained in:
parent
1a8da002cf
commit
79ed029db0
@ -59,7 +59,7 @@ class ViewTestCase(TestCase):
|
|||||||
'''
|
'''
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
response.status_code, code,
|
response.status_code, code,
|
||||||
"Expected an HTTP %s response, but got HTTP %s" % (
|
msg='Expecting an HTTP %s response, but got HTTP %s' % (
|
||||||
code,
|
code,
|
||||||
response.status_code
|
response.status_code
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user