summaryrefslogtreecommitdiff
path: root/tests/frontend
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/frontend
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/frontend')
-rw-r--r--tests/frontend/buildcheckout.py2
-rw-r--r--tests/frontend/fetch.py2
-rw-r--r--tests/frontend/mirror.py4
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/frontend/buildcheckout.py b/tests/frontend/buildcheckout.py
index d8e4d2e42..a04edf6ee 100644
--- a/tests/frontend/buildcheckout.py
+++ b/tests/frontend/buildcheckout.py
@@ -6,7 +6,7 @@ import subprocess
import pytest
from tests.testutils.site import IS_WINDOWS
-from tests.testutils import create_repo, generate_junction
+from tests.testutils import generate_junction
from buildstream.plugintestutils import cli
from buildstream import _yaml
diff --git a/tests/frontend/fetch.py b/tests/frontend/fetch.py
index 5f2b63791..56bc551b6 100644
--- a/tests/frontend/fetch.py
+++ b/tests/frontend/fetch.py
@@ -1,7 +1,7 @@
import os
import pytest
-from tests.testutils import create_repo, ALL_REPO_KINDS, generate_junction
+from tests.testutils import create_repo, generate_junction
from buildstream.plugintestutils import cli
from buildstream import _yaml
diff --git a/tests/frontend/mirror.py b/tests/frontend/mirror.py
index 55bb8a328..3f1d7181f 100644
--- a/tests/frontend/mirror.py
+++ b/tests/frontend/mirror.py
@@ -1,12 +1,12 @@
import os
import pytest
-from tests.testutils import create_repo, generate_junction
+from tests.testutils import create_repo
from buildstream import _yaml
-from buildstream._exceptions import ErrorDomain
from buildstream.plugintestutils import cli
+
# Project directory
TOP_DIR = os.path.dirname(os.path.realpath(__file__))
DATA_DIR = os.path.join(TOP_DIR, 'project')