Commit 07cfee30 authored by Mikaël Salson's avatar Mikaël Salson

test/controllers/ test showlog on vidjil.log not nginx/access.log

No need to have nginx to run the tests
parent bf65fbdb
......@@ -44,7 +44,7 @@ class AdminController(unittest.TestCase):
def testLog(self):
request.vars.file = '../log/nginx/access.log'
request.vars.file = 'vidjil.log'
resp = showlog()
self.assertTrue(resp.has_key('lines'), "log() has returned an incomplete response")
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