Commit 428daa9b by Alexis Aoun

cleaning

parent 14abd712
...@@ -8,4 +8,5 @@ class TestUrls(SimpleTestCase): ...@@ -8,4 +8,5 @@ class TestUrls(SimpleTestCase):
c = Client() c = Client()
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"
\ No newline at end of file
from xmlrpc import client
from django.test import SimpleTestCase from django.test import SimpleTestCase
...@@ -8,4 +8,5 @@ class TestUrls(SimpleTestCase): ...@@ -8,4 +8,5 @@ class TestUrls(SimpleTestCase):
c = Client() c = Client()
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"
\ No newline at end of file
...@@ -8,4 +8,5 @@ class TestUrls(SimpleTestCase): ...@@ -8,4 +8,5 @@ class TestUrls(SimpleTestCase):
c = Client() c = Client()
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"
\ No newline at end of file
...@@ -8,4 +8,5 @@ class TestUrls(SimpleTestCase): ...@@ -8,4 +8,5 @@ class TestUrls(SimpleTestCase):
c = Client() c = Client()
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"
\ No newline at end of file
...@@ -8,4 +8,5 @@ class TestUrls(SimpleTestCase): ...@@ -8,4 +8,5 @@ class TestUrls(SimpleTestCase):
c = Client() c = Client()
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"
\ No newline at end of file
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