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:
Samuel Dion-Girardeau 2017-05-11 20:48:22 -04:00
parent e4f5aed4fa
commit 076b271be2

View file

@ -124,7 +124,7 @@ class SnapPassRoutesTestCase(TestCase):
for ua in a_few_sneaky_bots: for ua in a_few_sneaky_bots:
rv = self.app.get('/{0}'.format(key), headers={ 'User-Agent': ua }) 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__': if __name__ == '__main__':