diff --git a/tests.py b/tests.py index 17cd453..3788238 100644 --- a/tests.py +++ b/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__':