manuels-scolaires/manuels/tests.py

8 lines
224 B
Python
Raw Normal View History

2018-05-21 19:28:36 +02:00
from django.test import TestCase
2018-05-21 21:03:08 +02:00
class HomePageTest(TestCase):
def test_home_page_returns_correct_html(self):
response = self.client.get('/')
self.assertTemplateUsed(response, 'manuels/home_page.html')