diff --git a/inventory/tests.py b/inventory/tests.py index ad212ec..205ae08 100644 --- a/inventory/tests.py +++ b/inventory/tests.py @@ -22,4 +22,4 @@ class InterFaceTestCase(TestCase): def test_consume_view_exists(self): client = Client() response = client.get('/consume/') - self.assertTrue("TODO" not in response) + self.assertTrue(b"TODO" not in response.content)