diff --git a/ospd_openvas/wrapper.py b/ospd_openvas/wrapper.py index ef2a9c2d..68320fc8 100644 --- a/ospd_openvas/wrapper.py +++ b/ospd_openvas/wrapper.py @@ -222,7 +222,7 @@ class OSPDopenvas(OSPDaemon): """ Class for ospd-openvas daemon. """ - def __init__(self, certfile, keyfile, cafile, customvtfilter): + def __init__(self, certfile, keyfile, cafile): """ Initializes the ospd-openvas daemon's internal data. """ super(OSPDopenvas, self).__init__(certfile=certfile, keyfile=keyfile, diff --git a/tests/dummywrapper.py b/tests/dummywrapper.py index cf2f393a..1aae43a9 100644 --- a/tests/dummywrapper.py +++ b/tests/dummywrapper.py @@ -95,4 +95,4 @@ def __init__(self, nvti, redis): with patch('ospd_openvas.wrapper.OpenvasDB', return_value=redis): with patch('ospd_openvas.wrapper.NVTICache', return_value=nvti): with patch.object(OSPDopenvas, 'load_vts', return_value=None): - super().__init__('cert', 'key', 'ca', None) + super().__init__('cert', 'key', 'ca')