test_url.py 262 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 testShopUrlIsResolved(self): c = Client() response = c.get('/shop/') assert response.status_code == 200, "Shop url is not resolved"