summaryrefslogtreecommitdiff
path: root/tests/examples/developing.py
diff options
context:
space:
mode:
authorbst-marge-bot <marge-bot@buildstream.build>2019-03-20 10:18:34 +0000
committerbst-marge-bot <marge-bot@buildstream.build>2019-03-20 10:18:34 +0000
commite1b1e6c9d552cd960e1531023ead44c9f3408b45 (patch)
tree5a1fd31971908d8f4574fcb451ba09faaa8ad40d /tests/examples/developing.py
parentbbc5c972a11bd817a5d051aad6b5f791670b6812 (diff)
parentdc3de1a4b8d63f98d748a852db1462fd7d791eeb (diff)
downloadbuildstream-e1b1e6c9d552cd960e1531023ead44c9f3408b45.tar.gz
Merge branch 'bschubert/linter-for-tests' into 'master'
Enable pylint on the tests Closes #941 See merge request BuildStream/buildstream!1222
Diffstat (limited to 'tests/examples/developing.py')
-rw-r--r--tests/examples/developing.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/examples/developing.py b/tests/examples/developing.py
index a5e3c2d9a..7da97931a 100644
--- a/tests/examples/developing.py
+++ b/tests/examples/developing.py
@@ -1,9 +1,12 @@
+# Pylint doesn't play well with fixtures and dependency injection from pytest
+# pylint: disable=redefined-outer-name
+
import os
import pytest
-import tests.testutils.patch as patch
-from buildstream.plugintestutils import cli_integration as cli
+from buildstream.plugintestutils import cli_integration as cli # pylint: disable=unused-import
from buildstream.plugintestutils.integration import assert_contains
+import tests.testutils.patch as patch
from tests.testutils.site import HAVE_BWRAP, IS_LINUX, MACHINE_ARCH
pytestmark = pytest.mark.integration