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

9 lines
257 B
Python
Raw Normal View History

2016-09-05 08:36:06 +01:00
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)