diff options
| author | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-03-01 09:10:13 +0000 |
|---|---|---|
| committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-03-01 19:05:30 +0000 |
| commit | 29f8df922fabd350b535f3949cf138b193b409f3 (patch) | |
| tree | bb3133310939227a78de0dab3da15520b8ef5d8e /tests/internals | |
| parent | 402cc7af5464f34d29909148dfb0876e56f97124 (diff) | |
| download | buildstream-remove-dead-code.tar.gz | |
tests: Remove unused importsremove-dead-code
Diffstat (limited to 'tests/internals')
| -rw-r--r-- | tests/internals/loader.py | 3 | ||||
| -rw-r--r-- | tests/internals/storage.py | 3 | ||||
| -rw-r--r-- | tests/internals/storage_vdir_import.py | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/tests/internals/loader.py b/tests/internals/loader.py index a9727b680..8fe75770d 100644 --- a/tests/internals/loader.py +++ b/tests/internals/loader.py @@ -4,7 +4,8 @@ import pytest from buildstream._exceptions import LoadError, LoadErrorReason from buildstream._context import Context from buildstream._project import Project -from buildstream._loader import Loader, MetaElement +from buildstream._loader import MetaElement + DATA_DIR = os.path.join( os.path.dirname(os.path.realpath(__file__)), diff --git a/tests/internals/storage.py b/tests/internals/storage.py index c09ff4380..36d9442c5 100644 --- a/tests/internals/storage.py +++ b/tests/internals/storage.py @@ -1,7 +1,6 @@ import os -import pytest -from buildstream._exceptions import ErrorDomain +import pytest from buildstream._cas import CASCache from buildstream.storage._casbaseddirectory import CasBasedDirectory diff --git a/tests/internals/storage_vdir_import.py b/tests/internals/storage_vdir_import.py index 5804e96f0..616f740e2 100644 --- a/tests/internals/storage_vdir_import.py +++ b/tests/internals/storage_vdir_import.py @@ -2,14 +2,11 @@ from hashlib import sha256 import os import pytest import random -import tempfile from buildstream.plugintestutils import cli from buildstream.storage._casbaseddirectory import CasBasedDirectory from buildstream.storage._filebaseddirectory import FileBasedDirectory -from buildstream._artifactcache import ArtifactCache from buildstream._cas import CASCache -from buildstream import utils # These are comparitive tests that check that FileBasedDirectory and |
