Use assertEqual, not assertEquals (deprecated)
Removes the following warning: ``` tests.py:96: DeprecationWarning: Please use assertEqual instead. self.assertEquals(rv.status_code, 404) ```
This commit is contained in:
parent
e4f5aed4fa
commit
076b271be2
1 changed files with 1 additions and 1 deletions
2
tests.py
2
tests.py
|
@ -124,7 +124,7 @@ class SnapPassRoutesTestCase(TestCase):
|
|||
|
||||
for ua in a_few_sneaky_bots:
|
||||
rv = self.app.get('/{0}'.format(key), headers={ 'User-Agent': ua })
|
||||
self.assertEquals(rv.status_code, 404)
|
||||
self.assertEqual(rv.status_code, 404)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in a new issue