Commit 57e1a12c authored by Li Niko M. Arceo's avatar Li Niko M. Arceo 🦈

Unittest for sunflowey details works

parent 08d832a3
Pipeline #742 canceled with stages
......@@ -21,3 +21,9 @@ class JesterTemplateTest(TestCase):
def test_uses_jester_template(self):
response = self.client.get('/heroes/jester')
self.assertTemplateUsed(response,'detail_jester.html')
class SunfloweyTemplateTest(TestCase):
def test_uses_sunflowey_template(self):
response = self.client.get('/heroes/sunflowey')
self.assertTemplateUsed(response,'detail_sunflowey.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