diff --git a/lists/tests.py b/lists/tests.py index 9d39dd1bee4e167e343a86562ecffbf7a6c3b90d..4db1a6308c58c295aa2bccc648ae04da21b549f5 100644 --- a/lists/tests.py +++ b/lists/tests.py @@ -15,7 +15,8 @@ class HomePageTest(TestCase): response = home_page(request) self.assertTrue(response.content.startswith(b'<html>')) self.assertIn(b'<title>To-Do lists</title>', response.content) - self.assertIn(b'<body></body>', response.content) + self.assertIn(b'<body>', response.content) + self.assertIn(b'</body>', response.content) self.assertIn(b'<h1>Rahmania Astrid Mochtar</h1>', response.content) self.assertIn(b'<h4>1606828702</h4>', response.content) self.assertIn(b'<h4>PMPL - B</h4>', response.content)