actual commit from last attempt, now incl. all new files
This commit is contained in:
10
apps/dashboard/tests.py
Normal file
10
apps/dashboard/tests.py
Normal file
@@ -0,0 +1,10 @@
|
||||
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_homepage_content(self):
|
||||
response = self.client.get('/')
|
||||
self.assertContains(response, 'To-Do')
|
||||
Reference in New Issue
Block a user