summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-06-05 18:55:27 +0100
committerBenjamin Schubert <ben.c.schubert@gmail.com>2019-06-05 18:55:27 +0100
commit6756480a858e4657b2a93653037b3f9a93290e7c (patch)
tree50e22f7f0d867d8e4ccc512b1813983492b33fe0 /tests
parent62237248b7c5e60643c172a4967da16f021b779c (diff)
downloadbuildstream-6756480a858e4657b2a93653037b3f9a93290e7c.tar.gz
tests/remoteexecution: Enable pylint and fix problems
tests/remoteexecution missing an __init__.py, which meant pylint was never run there.
Diffstat (limited to 'tests')
-rw-r--r--tests/remoteexecution/__init__.py0
-rw-r--r--tests/remoteexecution/partial.py5
-rw-r--r--tests/remoteexecution/simple.py5
3 files changed, 8 insertions, 2 deletions
diff --git a/tests/remoteexecution/__init__.py b/tests/remoteexecution/__init__.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/remoteexecution/__init__.py
diff --git a/tests/remoteexecution/partial.py b/tests/remoteexecution/partial.py
index ee0fc25b4..fd7b11cdb 100644
--- a/tests/remoteexecution/partial.py
+++ b/tests/remoteexecution/partial.py
@@ -1,8 +1,11 @@
+# Pylint doesn't play well with fixtures and dependency injection from pytest
+# pylint: disable=redefined-outer-name
+
import os
import pytest
from buildstream._exceptions import ErrorDomain
-from buildstream.testing import cli_remote_execution as cli
+from buildstream.testing import cli_remote_execution as cli # pylint: disable=unused-import
from buildstream.testing.integration import assert_contains
diff --git a/tests/remoteexecution/simple.py b/tests/remoteexecution/simple.py
index 53f4c65a4..1b7f7818a 100644
--- a/tests/remoteexecution/simple.py
+++ b/tests/remoteexecution/simple.py
@@ -1,7 +1,10 @@
+# Pylint doesn't play well with fixtures and dependency injection from pytest
+# pylint: disable=redefined-outer-name
+
import os
import pytest
-from buildstream.testing import cli_remote_execution as cli
+from buildstream.testing import cli_remote_execution as cli # pylint: disable=unused-import
from buildstream.testing.integration import assert_contains