summaryrefslogtreecommitdiff
path: root/tests/cachekey
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-06-05 14:28:42 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-06-06 14:33:59 +0000
commit8c19f8d8270c9095e30a0ef9b34332fb0f4b5868 (patch)
tree034512af76fa83419de3d1c3eaa6498c489b01c0 /tests/cachekey
parent3b56da44bdafeff1237391ad9edbb73010bcd5ee (diff)
downloadbuildstream-8c19f8d8270c9095e30a0ef9b34332fb0f4b5868.tar.gz
test:utils/site: Consolidate MACHINE_ARCH variable in a single place
We have two different 'site' files that are redundant and both define some variables in BuildStream environment. Moving the MACHINE_ARCH to a single place.
Diffstat (limited to 'tests/cachekey')
-rw-r--r--tests/cachekey/cachekey.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cachekey/cachekey.py b/tests/cachekey/cachekey.py
index dc202a94e..84f19b9c3 100644
--- a/tests/cachekey/cachekey.py
+++ b/tests/cachekey/cachekey.py
@@ -45,10 +45,10 @@ import os
import pytest
from buildstream.testing.runcli import cli # pylint: disable=unused-import
-from buildstream.testing._utils.site import HAVE_BZR, HAVE_GIT
+from buildstream.testing._utils.site import HAVE_BZR, HAVE_GIT, MACHINE_ARCH
from buildstream.plugin import CoreWarnings
from buildstream import _yaml
-from tests.testutils.site import IS_LINUX, MACHINE_ARCH
+from tests.testutils.site import IS_LINUX
##############################################