[Kimchi-devel] [PATCH] [Wok 2/7] Fix test case by removing authorization verification for css/theme-default.min.css
Aline Manera
alinefm at linux.vnet.ibm.com
Mon Feb 13 13:37:30 UTC 2017
css/theme-default.min.css does not exist on Wok server which was causing
the test case to fail. So remove it.
Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
---
tests/test_server.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_server.py b/tests/test_server.py
index 9c12b27..439f157 100644
--- a/tests/test_server.py
+++ b/tests/test_server.py
@@ -167,7 +167,6 @@ class ServerTests(unittest.TestCase):
def test_auth_unprotected(self):
hdrs = {'AUTHORIZATION': ''}
uris = ['/js/wok.min.js',
- '/css/theme-default.min.css',
'/images/favicon.png',
'/libs/jquery/jquery.min.js',
'/login.html',
@@ -175,6 +174,7 @@ class ServerTests(unittest.TestCase):
for uri in uris:
resp = self.request(uri, None, 'HEAD', hdrs)
+ print "\n\naaaaaaaaaaaaaaaa ", uri
self.assertEquals(200, resp.status)
def test_auth_protected(self):
--
2.9.3
More information about the Kimchi-devel
mailing list