from django.test import TestCase
from django.core.urlresolvers import reverse

class ViewsTestCase(TestCase):
    def test_about_view(self):
        response = self.client.get(reverse('about'))
        self.assertEqual(response.status_code, 200)
        self.assertContains(response, "About")

from django.test import TestCase
from django.core.urlresolvers import reverse

class ViewsTestCase(TestCase):
    def test_about_view(self):
        response = self.client.get(reverse('about'))
        self.assertEqual(response.status_code, 200)
        self.assertContains(response, "About")
    
    def test_contact_page(self):
        response = self.client.get(reverse('contact'))
        self.assertEqual(response.status_code, 200)
        self.assertContains(response, "Contact")

Add test for contact page
Add test for contact page
