From d8a0a4ffc7fda28193e7056c0a06d5dbccddeec1 Mon Sep 17 00:00:00 2001 From: Rahmania Astrid Mochtar <rahmania.astrid@ui.ac.id> Date: Wed, 18 Sep 2019 23:06:20 +0700 Subject: [PATCH] Succeeded in passing tests --- lists/tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lists/tests.py b/lists/tests.py index 9d39dd1..4db1a63 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) -- GitLab