Commit 8b3c9a72 authored by KY-2187's avatar KY-2187

fixed typo in tests.py

parent 72f16a60
...@@ -11,19 +11,19 @@ class heroesTest(TestCase): ...@@ -11,19 +11,19 @@ class heroesTest(TestCase):
class cloudTest(TestCase): class cloudTest(TestCase):
def test_cloud_returns_correct_html(self): def test_cloud_returns_correct_html(self):
response = self.client.get('/heroes/cloud') response = self.client.get('/hero/cloud')
self.assertTemplateUsed(response, 'cloud.html') self.assertTemplateUsed(response, 'cloud.html')
class sunfloweyTest(TestCase): class sunfloweyTest(TestCase):
def test_sunflowey_returns_correct_html(self): def test_sunflowey_returns_correct_html(self):
response = self.client.get('/heroes/sunflowey') response = self.client.get('/hero/sunflowey')
self.assertTemplateUsed(response, 'sunflowey.html') self.assertTemplateUsed(response, 'sunflowey.html')
class jesterTest(TestCase): class jesterTest(TestCase):
def test_jester_returns_correct_html(self): def test_jester_returns_correct_html(self):
response = self.client.get('/heroes/sunflowey') response = self.client.get('/hero/sunflowey')
self.assertTemplateUsed(response, 'jester.html') self.assertTemplateUsed(response, 'jester.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