duck-booking-tool/booking/tests.py

10 lines
265 B
Python
Raw Normal View History

2014-12-23 08:13:22 +00:00
from django.test import TestCase, Client
class FrontTest(TestCase):
def setUp(self):
self.client = Client()
def test_vocabulary_page(self):
response = self.client.get('/vocabulary.html')
self.assertEqual(response.status_code, 200)