summaryrefslogtreecommitdiff
path: root/tests/frontend/push.py
diff options
context:
space:
mode:
authorTristan Maat <tristan.maat@codethink.com>2017-09-05 04:22:13 -0500
committerTristan Maat <tristan.maat@codethink.co.uk>2017-09-28 14:46:33 +0100
commit206fc51a6cf57697f03e27508819eafaaee58317 (patch)
treee019ce1bf25ceb1ca90964450908ae2965e75eef /tests/frontend/push.py
parent37ece921d0cd4a69174ae8591127113973f53d46 (diff)
downloadbuildstream-206fc51a6cf57697f03e27508819eafaaee58317.tar.gz
Fix tests for other platforms
Diffstat (limited to 'tests/frontend/push.py')
-rw-r--r--tests/frontend/push.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/frontend/push.py b/tests/frontend/push.py
index c1131f901..89a864d16 100644
--- a/tests/frontend/push.py
+++ b/tests/frontend/push.py
@@ -1,6 +1,7 @@
import os
import pytest
from tests.testutils import cli, create_artifact_share
+from tests.testutils.site import IS_LINUX
from buildstream import _yaml
@@ -23,6 +24,7 @@ def assert_shared(cli, share, project, element_name):
.format(share.repo, element_name))
+@pytest.mark.skipif(not IS_LINUX, reason='Only available on linux')
@pytest.mark.parametrize(
'user_url, project_url, override_url',
[
@@ -82,6 +84,7 @@ def test_push(cli, tmpdir, datafiles, user_url, project_url, override_url):
assert_shared(cli, share, project, 'target.bst')
+@pytest.mark.skipif(not IS_LINUX, reason='Only available on linux')
@pytest.mark.datafiles(DATA_DIR)
def test_push_all(cli, tmpdir, datafiles):
project = os.path.join(datafiles.dirname, datafiles.basename)