Commit 271ac4bf authored by King Arthur's avatar King Arthur

Created a unit test to check if the homepage displays correctly.

parent 905bd0e9
from django.test import TestCase from django.test import TestCase
# Create your tests here. # Create your tests here.
class HomePageTest(TestCase):
def test_home_page_displays_correctly(self):
response = self.client.get("/")
self.assertTemplateUsed(response, "home.html")
\ No newline at end of file
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