Commit 08d832a3 authored by Li Niko M. Arceo's avatar Li Niko M. Arceo 🦈

Unittest for jester details works

parent 26c216b8
...@@ -15,3 +15,9 @@ class CloudTemplateTest(TestCase): ...@@ -15,3 +15,9 @@ class CloudTemplateTest(TestCase):
def test_uses_cloud_template(self): def test_uses_cloud_template(self):
response = self.client.get('/heroes/cloud') response = self.client.get('/heroes/cloud')
self.assertTemplateUsed(response,'detail_cloud.html') self.assertTemplateUsed(response,'detail_cloud.html')
class JesterTemplateTest(TestCase):
def test_uses_jester_template(self):
response = self.client.get('/heroes/jester')
self.assertTemplateUsed(response,'detail_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