summaryrefslogtreecommitdiff
path: root/tests/testutils
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-03-19 18:56:21 +0000
committerBenjamin Schubert <ben.c.schubert@gmail.com>2019-03-20 09:38:42 +0000
commitd5aa6720431db86ce429719f86b4b18ab786aa58 (patch)
treee45901c1b002f20d05ba8485a15fbe4cc4bab246 /tests/testutils
parent481efa5e59a22c1b61e1d8ea89302a59f8254dc3 (diff)
downloadbuildstream-d5aa6720431db86ce429719f86b4b18ab786aa58.tar.gz
tests:lint: fix all unused-import from pylint
Removes all the ones thare were not needed Whitelist the ones that are actually needed for side effects
Diffstat (limited to 'tests/testutils')
-rw-r--r--tests/testutils/site.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testutils/site.py b/tests/testutils/site.py
index 2f4143407..17c84cd8d 100644
--- a/tests/testutils/site.py
+++ b/tests/testutils/site.py
@@ -32,7 +32,7 @@ except ProgramNotFoundError:
HAVE_OSTREE_CLI = False
try:
- from buildstream import _ostree
+ from buildstream import _ostree # pylint: disable=unused-import
HAVE_OSTREE = True
except (ImportError, ValueError):
HAVE_OSTREE = False
@@ -52,7 +52,7 @@ except ProgramNotFoundError:
HAVE_LZIP = False
try:
- import arpy
+ import arpy # pylint: disable=unused-import
HAVE_ARPY = True
except ImportError:
HAVE_ARPY = False