summaryrefslogtreecommitdiff
path: root/tests/cachekey
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-06-05 14:45:01 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-06-06 14:34:00 +0000
commit556f71c9a3ccdc4c524f261926a364379506066d (patch)
tree1eaa6f496116e0280c9b4dd7ab29ea0b11fe6f73 /tests/cachekey
parent75433adb848cd92b1600391ff1553feaaf274608 (diff)
downloadbuildstream-556f71c9a3ccdc4c524f261926a364379506066d.tar.gz
test:utils/site: Consolidate IS_LINUX/WSL/Windows in a single site
We currently have two sites file containing redundant information. - tests/testutils/site.py: Remove IS_{LINUX,WSL,WINDOWS} - rest: Change imports to import those from buildstream/tests/_utils/site.py
Diffstat (limited to 'tests/cachekey')
-rw-r--r--tests/cachekey/cachekey.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/cachekey/cachekey.py b/tests/cachekey/cachekey.py
index 84f19b9c3..7c5d90d1f 100644
--- a/tests/cachekey/cachekey.py
+++ b/tests/cachekey/cachekey.py
@@ -45,10 +45,9 @@ import os
import pytest
from buildstream.testing.runcli import cli # pylint: disable=unused-import
-from buildstream.testing._utils.site import HAVE_BZR, HAVE_GIT, MACHINE_ARCH
+from buildstream.testing._utils.site import HAVE_BZR, HAVE_GIT, IS_LINUX, MACHINE_ARCH
from buildstream.plugin import CoreWarnings
from buildstream import _yaml
-from tests.testutils.site import IS_LINUX
##############################################