Fakultas Ilmu Komputer UI

Commit 5811ce92 authored by Syahrul Ardiansyah's avatar Syahrul Ardiansyah
Browse files

Fix unit test

parent 95d23e77
Pipeline #22753 passed with stage
in 1 minute and 39 seconds
......@@ -14,7 +14,7 @@ class HomePageTest(TestCase):
def test_home_page_returns_correct_html(self):
response = self.client.get('/')
html = response.content.decode('utf8')
self.assertTrue(html.startswith('<!DOCTYPE html>'))
self.assertIn('<title>To-Do lists</title>', html)
self.assertIn('<h1>Syahrul Findi Ardiansyah</h1>', html)
self.assertIn('<h2>1506757352</h2>', 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