1
Fork 0
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.
website-2020-spike/website/blog/tests.py
2020-05-07 14:24:50 +01:00

9 lines
263 B
Python

from django.urls import reverse
from website.common.tests import BaseTestCase
class BlogListViewTestCase(BaseTestCase):
def test_accessible(self):
response = self.client.get(reverse("blog:list"))
self.assertEqual(response.status_code, 200)