duck-booking-tool/duckbook/tests.py

11 lines
246 B
Python
Raw Normal View History

2015-01-14 16:03:28 +00:00
from django.test import TestCase, Client
class TestFront(TestCase):
def setUp(self):
self.client = Client()
def test_front_page(self):
response = self.client.get('/')
self.assertEqual(response.status_code, 200)