Fakultas Ilmu Komputer UI

Commit 493a9b8f authored by Rayza Arasj Mahardhika's avatar Rayza Arasj Mahardhika
Browse files

change unit test

parent 4185439d
......@@ -15,5 +15,6 @@ class HomePageTest(TestCase):
response = home_page(request)
html = response.content.decode('utf8')
self.assertTrue(html.startswith('<html>'))
self.assertIn('<title>To-Do lists</title>', html)
self.assertIn('<title>Rayza\'s Homepage</title>', html)
self.assertIn('<h1>Welcome to Rayza\'s Homepage', html)
self.assertTrue(html.endswith('</html>'))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment