From 12906fd952bb03a98411ccf51f1ab40e6f580e3a Mon Sep 17 00:00:00 2001 From: aviau Date: Mon, 18 Aug 2014 11:00:13 -0400 Subject: [PATCH] Use self.assertEqual instead of assert Change-Id: Icae26d907eec2c4ab9f430c69491a96bd549c45a --- surveil/tests/api/controllers/v1/test_hello.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/surveil/tests/api/controllers/v1/test_hello.py b/surveil/tests/api/controllers/v1/test_hello.py index dcdf94c..03111b4 100644 --- a/surveil/tests/api/controllers/v1/test_hello.py +++ b/surveil/tests/api/controllers/v1/test_hello.py @@ -19,5 +19,5 @@ class TestRootController(functionalTest.FunctionalTest): def test_get(self): response = self.app.get('/v1/hello') - assert response.body == b"Hello World!" + self.assertEqual(response.body, b"Hello World!") assert response.status_int == 200