Fakultas Ilmu Komputer UI

Commit d858e28f authored by Kevin Albert Simanjuntak's avatar Kevin Albert Simanjuntak
Browse files

add failed test

parent 5c3353ac
Pipeline #19962 failed with stage
in 35 seconds
......@@ -8,10 +8,9 @@ from lists.views import home_page
class HomePageTest(TestCase):
def test_root_url_resolves_to_home_page_view(self):
found = resolve('/')
found = resolve('/homepage/')
self.assertEqual(found.func, home_page)
def test_home_page_returns_correct_html(self):
request = HttpRequest()
response = home_page(request)
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