test_url.py 286 Bytes Edit 1 2 3 4 5 6 7 8 9 10 11 12 from django.test import SimpleTestCase from django.test import Client class TestUrls(SimpleTestCase): def testInventoryUrlIsResolved(self): c = Client() response = c.get('/reception/') assert response.status_code == 200, "Inventory url is not resolved"