diff options
author | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-03-19 18:56:21 +0000 |
---|---|---|
committer | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-03-20 09:38:42 +0000 |
commit | d5aa6720431db86ce429719f86b4b18ab786aa58 (patch) | |
tree | e45901c1b002f20d05ba8485a15fbe4cc4bab246 /tests/frontend | |
parent | 481efa5e59a22c1b61e1d8ea89302a59f8254dc3 (diff) | |
download | buildstream-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.py | 2 | ||||
-rw-r--r-- | tests/frontend/fetch.py | 2 | ||||
-rw-r--r-- | tests/frontend/mirror.py | 4 |
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') |