from django.test import TestCase
from django.urls import reverse


class TestHomeViews(TestCase):

    def test_get_home(self):
        """ test index view """
        response = self.client.get('/')
        self.assertEqual(response.status_code, 200)
        self.assertTemplateUsed(response, 'home/index.html')


class TestAboutViews(TestCase):

    def test_get_about(self):
        """ test about view """
        response = self.client.get(reverse('about_us'))
        self.assertEqual(response.status_code, 200)
        self.assertTemplateUsed(response, 'home/about_us.html')

a16088acd9955816e0c729365e1d9ef863ee7ec0
<mask token>


class TestAboutViews(TestCase):
    <mask token>

<mask token>


class TestAboutViews(TestCase):

    def test_get_about(self):
        """ test about view """
        response = self.client.get(reverse('about_us'))
        self.assertEqual(response.status_code, 200)
        self.assertTemplateUsed(response, 'home/about_us.html')

<mask token>


class TestHomeViews(TestCase):
    <mask token>


class TestAboutViews(TestCase):

    def test_get_about(self):
        """ test about view """
        response = self.client.get(reverse('about_us'))
        self.assertEqual(response.status_code, 200)
        self.assertTemplateUsed(response, 'home/about_us.html')

<mask token>


class TestHomeViews(TestCase):

    def test_get_home(self):
        """ test index view """
        response = self.client.get('/')
        self.assertEqual(response.status_code, 200)
        self.assertTemplateUsed(response, 'home/index.html')


class TestAboutViews(TestCase):

    def test_get_about(self):
        """ test about view """
        response = self.client.get(reverse('about_us'))
        self.assertEqual(response.status_code, 200)
        self.assertTemplateUsed(response, 'home/about_us.html')

from django.test import TestCase
from django.urls import reverse


class TestHomeViews(TestCase):

    def test_get_home(self):
        """ test index view """
        response = self.client.get('/')
        self.assertEqual(response.status_code, 200)
        self.assertTemplateUsed(response, 'home/index.html')


class TestAboutViews(TestCase):

    def test_get_about(self):
        """ test about view """
        response = self.client.get(reverse('about_us'))
        self.assertEqual(response.status_code, 200)
        self.assertTemplateUsed(response, 'home/about_us.html')
