diff options
Diffstat (limited to 'tests/cachekey/cachekey.py')
-rw-r--r-- | tests/cachekey/cachekey.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/cachekey/cachekey.py b/tests/cachekey/cachekey.py index 4a6896888..661a53e66 100644 --- a/tests/cachekey/cachekey.py +++ b/tests/cachekey/cachekey.py @@ -36,7 +36,7 @@ # the result. # from buildstream.plugintestutils.runcli import cli -from tests.testutils.site import HAVE_BZR, HAVE_GIT, HAVE_OSTREE, IS_LINUX, MACHINE_ARCH +from tests.testutils.site import BZR, GIT, HAVE_OSTREE, IS_LINUX, MACHINE_ARCH from buildstream.plugin import CoreWarnings from buildstream import _yaml import os @@ -147,8 +147,8 @@ DATA_DIR = os.path.join( @pytest.mark.skipif(MACHINE_ARCH != 'x86-64', reason='Cache keys depend on architecture') @pytest.mark.skipif(not IS_LINUX, reason='Only available on linux') -@pytest.mark.skipif(HAVE_BZR is False, reason="bzr is not available") -@pytest.mark.skipif(HAVE_GIT is False, reason="git is not available") +@pytest.mark.skipif(BZR is None, reason="bzr is not available") +@pytest.mark.skipif(GIT is None, reason="git is not available") @pytest.mark.skipif(HAVE_OSTREE is False, reason="ostree is not available") @pytest.mark.datafiles(DATA_DIR) def test_cache_key(datafiles, cli): |