From 076b271be2b566654cec6e992c841f535b0349fc Mon Sep 17 00:00:00 2001 From: Samuel Dion-Girardeau Date: Thu, 11 May 2017 20:48:22 -0400 Subject: [PATCH] Use assertEqual, not assertEquals (deprecated) Removes the following warning: ``` tests.py:96: DeprecationWarning: Please use assertEqual instead. self.assertEquals(rv.status_code, 404) ``` --- tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests.py b/tests.py index edbb72e..e9f0b4e 100644 --- a/tests.py +++ b/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__':