from django.test import TestCase class HomePageTest(TestCase): def test_uses_home_template(self): response = self.client.get('/') self.assertTemplateUsed(response, 'apps/dashboard/home.html') def test_renders_input_form(self): response = self.client.get('/') self.assertContains(response, '