Source

django-bootstrap-template / template / project_name / apps / site / tests.py

Full commit
1
2
3
4
5
6
7
8
from django.test import TestCase


class HomePageTests(TestCase):
    def test_home_page(self):

        response = self.client.get("/")
        self.assertEqual(response.status_code, 200)