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.
static-share/project/pages/tests.py
2016-09-05 08:36:06 +01:00

8 lines
257 B
Python

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)