test_url.py 287 Bytes
Newer Older
1
from django.test import SimpleTestCase
2
from django.test import Client
3 4 5

class TestUrls(SimpleTestCase):

6 7 8 9 10
    def testReceptionUrlIsResolved(self):

        c = Client()
        response = c.get('/reception/')

11
        assert response.status_code == 200 , "Reception url is not resolved"
12