Commit c9bab22f authored by Santino Campos's avatar Santino Campos

Fix faulty url in homepage unit test

parent 730a12a2
...@@ -4,5 +4,5 @@ from django.test import TestCase ...@@ -4,5 +4,5 @@ from django.test import TestCase
class HomePageTest(TestCase): class HomePageTest(TestCase):
def test_homepage_url_return_valid_template(self): def test_homepage_url_return_valid_template(self):
homepage_response = self.client.get("/") homepage_response = self.client.get("/heroes")
self.attestTemplateUsed(homepage_response, 'homepage.html') self.assertTemplateUsed(homepage_response, 'homepage.html')
Markdown is supported
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