summaryrefslogtreecommitdiff
path: root/tests/internals
diff options
context:
space:
mode:
Diffstat (limited to 'tests/internals')
-rw-r--r--tests/internals/loader.py3
-rw-r--r--tests/internals/storage.py3
-rw-r--r--tests/internals/storage_vdir_import.py3
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