Fix assertEqual parameter order (expected, actual)
This ensures the failure message, if any, is reflective of the intended value.
This commit is contained in:
parent
e6eca0daf8
commit
80f77a6572
1 changed files with 1 additions and 1 deletions
2
tests.py
2
tests.py
|
@ -131,7 +131,7 @@ class SnapPassRoutesTestCase(TestCase):
|
|||
|
||||
for ua in a_few_sneaky_bots:
|
||||
rv = self.app.get('/{0}'.format(key), headers={ 'User-Agent': ua })
|
||||
self.assertEqual(rv.status_code, 404)
|
||||
self.assertEqual(404, rv.status_code)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in a new issue