Commit 16ff8014 authored by HERBERT Ryan's avatar HERBERT Ryan Committed by Mathieu Giraud

tests/controllers fix tests log kwarg issue

Several tests were crashing due to a new kwarg in the log.info, this
commit fixes the issue.
parent 1b2cc7ec
......@@ -26,7 +26,7 @@ class AdminController(unittest.TestCase):
# rewrite info / error functions
# for some reasons we lost them between the testRunner and the testCase but we need them to avoid error so ...
def f(a):
def f(a, **kwargs):
pass
log.info = f
log.error = f
......
......@@ -34,7 +34,7 @@ class ConfigController(unittest.TestCase):
# rewrite info / error functions
# for some reasons we lost them between the testRunner and the testCase but we need them to avoid error so ...
def f(a):
def f(a, **kwargs):
pass
log.info = f
log.error = f
......
......@@ -26,7 +26,7 @@ class DefaultController(unittest.TestCase):
# rewrite info / error functions
# for some reasons we lost them between the testRunner and the testCase but we need them to avoid error so ...
def f(a):
def f(a, **kwargs):
pass
log.info = f
log.error = f
......
......@@ -24,7 +24,7 @@ class FileController(unittest.TestCase):
# rewrite info / error functions
# for some reasons we lost them between the testRunner and the testCase but we need them to avoid error so ...
def f(a):
def f(a, **kwargs):
pass
log.info = f
log.error = f
......
......@@ -28,7 +28,7 @@ class GroupController(unittest.TestCase):
# rewrite info / error functions
# for some reasons we lost them between the testRunner and the testCase but we need them to avoid error so ...
def f(a):
def f(a, **kwargs):
pass
log.info = f
log.error = f
......
......@@ -26,7 +26,7 @@ class NotificationController(unittest.TestCase):
# rewrite info / error functions
# for some reasons we lost them between the testRunner and the testCase but we need them to avoid error so ...
def f(a):
def f(a, **kwargs):
pass
log.info = f
log.error = f
......
......@@ -23,7 +23,7 @@ class PatientController(unittest.TestCase):
# rewrite info / error functions
# for some reasons we lost them between the testRunner and the testCase but we need them to avoid error so ...
def f(a):
def f(a, **kwargs):
pass
log.info = f
log.error = f
......
......@@ -23,7 +23,7 @@ class Results_fileController(unittest.TestCase):
# rewrite info / error functions
# for some reasons we lost them between the testRunner and the testCase but we need them to avoid error so ...
def f(a):
def f(a, **kwargs):
pass
log.info = f
log.error = f
......
......@@ -23,7 +23,7 @@ class Sample_setController(unittest.TestCase):
# rewrite info / error functions
# for some reasons we lost them between the testRunner and the testCase but we need them to avoid error so ...
def f(a):
def f(a, **kwargs):
pass
log.info = f
log.error = f
......
......@@ -23,7 +23,7 @@ class UserController(unittest.TestCase):
# rewrite info / error functions
# for some reasons we lost them between the testRunner and the testCase but we need them to avoid error so ...
def f(a):
def f(a, **kwargs):
pass
log.info = f
log.error = f
......
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