mirror of
https://git.linux-kernel.at/oliver/ivatar.git
synced 2025-11-20 06:58:02 +00:00
Change assertion, since locally, this behaves diffeerently and raises another Exception
This commit is contained in:
@@ -963,10 +963,9 @@ class Tester(TestCase):
|
|||||||
response.status_code,
|
response.status_code,
|
||||||
200,
|
200,
|
||||||
'unable to remove unconfirmed address?')
|
'unable to remove unconfirmed address?')
|
||||||
self.assertEqual(
|
self.assertContains(
|
||||||
str(list(response.context[0]['messages'])[-1]),
|
response,
|
||||||
'OpenID discovery failed: HTTP Response status from identity URL\
|
'OpenID discovery failed: ', 1, 200,
|
||||||
host is not 200. Got status 403',
|
|
||||||
'This request must return an error in test mode'
|
'This request must return an error in test mode'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user