manuels-scolaires/manuels/tests.py
2018-05-21 21:03:08 +02:00

8 lines
224 B
Python

from django.test import TestCase
class HomePageTest(TestCase):
def test_home_page_returns_correct_html(self):
response = self.client.get('/')
self.assertTemplateUsed(response, 'manuels/home_page.html')