diff --git a/kallithea/tests/__init__.py b/kallithea/tests/__init__.py --- a/kallithea/tests/__init__.py +++ b/kallithea/tests/__init__.py @@ -272,6 +272,6 @@ class TestControllerPytest(BaseTestContr assert first == second def assertDictEqual(self, first, second, msg=None): assert first == second - def assertRaises(self, exception, method): + def assertRaises(self, exception, method, *args, **kwargs): with pytest.raises(exception): - method() + method(*args, **kwargs)