Commit 730a12a2 authored by Santino Campos's avatar Santino Campos

Write unit test for returning homepage template

parent 7179854a
from django.test import TestCase from django.test import TestCase
# Create your tests here.
class HomePageTest(TestCase):
def test_homepage_url_return_valid_template(self):
homepage_response = self.client.get("/")
self.attestTemplateUsed(homepage_response, 'homepage.html')
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