Fakultas Ilmu Komputer UI

Commit c941895b authored by Dwi Nanda Susanto's avatar Dwi Nanda Susanto
Browse files

update pass test for simple homepage

parent 6fa265e5
......@@ -11,7 +11,6 @@ class NewVisitorTest(unittest.TestCase):
self.browser.get('http://localhost:8000')
# She notices the page title and header mention to-do lists
self.assertIn('Simple Homepage', self.browser.title)
self.fail('Finish the test!')
# She is invited to enter a to-do item straight away
# [...rest of comments as before]
if __name__ == '__main__':
......
......@@ -3,4 +3,4 @@ from django.http import HttpResponse
# Create your views here.
def home_page(req):
return HttpResponse('<html><title>To-Do lists</title></html>')
\ No newline at end of file
return HttpResponse('<html><title>Simple Homepage</title><h1>Dwi Nanda Susanto</h1><h2>1506722720</h2></html>')
\ No newline at end of file
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