Fakultas Ilmu Komputer UI

Commit b4bb124f authored by Syahrul Ardiansyah's avatar Syahrul Ardiansyah
Browse files

Merge branch 'master' of gitlab.cs.ui.ac.id:pmpl/practice-collection/2019/1506757352-practice

parents 95d23e77 536a8040
Pipeline #23516 passed with stage
in 1 minute and 38 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('<html>'))
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