From c01c39d87f7feff447e487d204393e30e879623d Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Sun, 16 Mar 2014 16:36:46 -0300 Subject: [PATCH] test status too, since it is important in the response --- tests/users_tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/users_tests.py b/tests/users_tests.py index 2e3ee66..0873644 100644 --- a/tests/users_tests.py +++ b/tests/users_tests.py @@ -28,6 +28,7 @@ class TestUsers(unittest.TestCase): rv = self.app.put('/user/', data=json.dumps(request), content_type='application/json') + self.assertEqual(rv.status_code, 200) self.assertEqual(json.loads(rv.data), {'status': 'OK'}) if __name__ == '__main__':