test_url.py 262 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 testShopUrlIsResolved(self):

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

11
	    assert response.status_code == 200, "Shop url is not resolved"
Alexis Aoun committed
12