summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelos Evripiotis <jevripiotis@bloomberg.net>2019-06-11 16:48:45 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-06-18 09:45:00 +0000
commitefda71ae418165dde45385b8e1239acbabea6b5b (patch)
tree83a538c1fb4999391c4b92876c470e22c649f093
parent013d88c94f023cfa1e28872489808a80a435fd7d (diff)
downloadbuildstream-efda71ae418165dde45385b8e1239acbabea6b5b.tar.gz
tests/frontend: fix or ignore pylint args-differ
Ignore the warning for `_init_project_interactive`, as we really don't care what the arguments are.
-rw-r--r--tests/frontend/consistencyerror/plugins/consistencybug.py2
-rw-r--r--tests/frontend/consistencyerror/plugins/consistencyerror.py2
-rw-r--r--tests/frontend/init.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/frontend/consistencyerror/plugins/consistencybug.py b/tests/frontend/consistencyerror/plugins/consistencybug.py
index 3c6fb46f3..c60d81ea0 100644
--- a/tests/frontend/consistencyerror/plugins/consistencybug.py
+++ b/tests/frontend/consistencyerror/plugins/consistencybug.py
@@ -23,7 +23,7 @@ class ConsistencyBugSource(Source):
def set_ref(self, ref, node):
pass
- def fetch(self):
+ def fetch(self, **kwargs):
pass
def stage(self, directory):
diff --git a/tests/frontend/consistencyerror/plugins/consistencyerror.py b/tests/frontend/consistencyerror/plugins/consistencyerror.py
index fe2037fc6..bcbd1b5e9 100644
--- a/tests/frontend/consistencyerror/plugins/consistencyerror.py
+++ b/tests/frontend/consistencyerror/plugins/consistencyerror.py
@@ -24,7 +24,7 @@ class ConsistencyErrorSource(Source):
def set_ref(self, ref, node):
pass
- def fetch(self):
+ def fetch(self, **kwargs):
pass
def stage(self, directory):
diff --git a/tests/frontend/init.py b/tests/frontend/init.py
index fa4623c63..0eac5d528 100644
--- a/tests/frontend/init.py
+++ b/tests/frontend/init.py
@@ -110,7 +110,7 @@ def test_element_path_interactive(cli, tmp_path, monkeypatch, element_path):
def create(cls, *args, **kwargs):
return DummyInteractiveApp(*args, **kwargs)
- def _init_project_interactive(self, *args, **kwargs):
+ def _init_project_interactive(self, *args, **kwargs): # pylint: disable=arguments-differ
return ('project_name', '0', element_path)
monkeypatch.setattr(App, 'create', DummyInteractiveApp.create)