from django.test import TestCase
from django.urls import resolve


class HomePageTest(TestCase):

    def test_root_url_resolves_to_index_page_view(self):
        found = resolve("/")
        self.assertEqual(found.view_name, "index")

@@ -228,8 +228,145 @@
 index%22)%0A
+%0A    def test_uses_login_template(self):%0A        response = self.client.get('/')%0A        self.assertTemplateUsed(response, 'login.html')%0A

Add tests login template