Fakultas Ilmu Komputer UI

Commit ef0327e2 authored by Rayza Arasj Mahardhika's avatar Rayza Arasj Mahardhika
Browse files

add closing tag for h1

parent 1709cb9b
......@@ -16,5 +16,5 @@ class HomePageTest(TestCase):
html = response.content.decode('utf8')
self.assertTrue(html.startswith('<html>'))
self.assertIn('<title>Rayza\'s Homepage</title>', html)
self.assertIn('<h1>Welcome to Rayza\'s Homepage', html)
self.assertIn('<h1>Welcome to Rayza\'s Homepage</h1>', html)
self.assertTrue(html.endswith('</html>'))
......@@ -4,6 +4,6 @@ def home_page(request):
return HttpResponse(
'<html>' +
'<title>Rayza\'s Homepage</title>' +
'<h1>Welcome to Rayza\'s Homepage' +
'<h1>Welcome to Rayza\'s Homepage</h1>' +
'</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