This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
|
from django.core.urlresolvers import reverse
|
|
from django.test import TestCase
|
|
|
|
|
|
class IndexPageTestCase(TestCase):
|
|
def test_accessable(self):
|
|
response = self.client.get(reverse("pages:index"))
|
|
self.assertEqual(response.status_code, 200)
|