Commit 428daa9b by Alexis Aoun

cleaning

parent 14abd712
...@@ -9,3 +9,4 @@ class TestUrls(SimpleTestCase): ...@@ -9,3 +9,4 @@ class TestUrls(SimpleTestCase):
response = c.get('/orders/') response = c.get('/orders/')
assert type(response).__name__ != "HttpResponseNotFound", "Orders url is not resolved" assert type(response).__name__ != "HttpResponseNotFound", "Orders url is not resolved"
from xmlrpc import client
from django.test import SimpleTestCase from django.test import SimpleTestCase
...@@ -9,3 +9,4 @@ class TestUrls(SimpleTestCase): ...@@ -9,3 +9,4 @@ class TestUrls(SimpleTestCase):
response = c.get('/sales/') response = c.get('/sales/')
assert type(response).__name__ != "HttpResponseNotFound", "Sales url is not resolved" assert type(response).__name__ != "HttpResponseNotFound", "Sales url is not resolved"
...@@ -9,3 +9,4 @@ class TestUrls(SimpleTestCase): ...@@ -9,3 +9,4 @@ class TestUrls(SimpleTestCase):
response = c.get('/shelfs/') response = c.get('/shelfs/')
assert type(response).__name__ != "HttpResponseNotFound", "Shelfs url is not resolved" assert type(response).__name__ != "HttpResponseNotFound", "Shelfs url is not resolved"
...@@ -9,3 +9,4 @@ class TestUrls(SimpleTestCase): ...@@ -9,3 +9,4 @@ class TestUrls(SimpleTestCase):
response = c.get('/shop/') response = c.get('/shop/')
assert type(response).__name__ != "HttpResponseNotFound", "Shop url is not resolved" assert type(response).__name__ != "HttpResponseNotFound", "Shop url is not resolved"
...@@ -9,3 +9,4 @@ class TestUrls(SimpleTestCase): ...@@ -9,3 +9,4 @@ class TestUrls(SimpleTestCase):
response = c.get('/stock/') response = c.get('/stock/')
assert type(response).__name__ != "HttpResponseNotFound", "Stock url is not resolved" assert type(response).__name__ != "HttpResponseNotFound", "Stock url is not resolved"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment