diff options
author | Benjamin Schubert <contact@benschubert.me> | 2019-10-09 10:56:29 +0100 |
---|---|---|
committer | Benjamin Schubert <contact@benschubert.me> | 2019-10-09 10:56:29 +0100 |
commit | b1b0d28e5051a78cd7b04fe70ed9dffb1f62069f (patch) | |
tree | 3fcb14c9b33ead2cd5913498b0dfce58247ae78d /tests/sources/deb.py | |
parent | b592cb85c7e8f3580e75dff531d44ec1bed84dc1 (diff) | |
download | buildstream-bschubert/test-skips.tar.gz |
Diffstat (limited to 'tests/sources/deb.py')
-rw-r--r-- | tests/sources/deb.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/sources/deb.py b/tests/sources/deb.py index e536e522a..5e2af73e1 100644 --- a/tests/sources/deb.py +++ b/tests/sources/deb.py @@ -37,7 +37,7 @@ def _copy_deb(start_location, tmpdir): # Test that without ref, consistency is set appropriately. -@pytest.mark.skipif(HAVE_ARPY is False, reason="arpy is not available") +@pytest.mark.xfail(HAVE_ARPY is False, reason="arpy is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'no-ref')) def test_no_ref(cli, tmpdir, datafiles): project = str(datafiles) @@ -46,7 +46,7 @@ def test_no_ref(cli, tmpdir, datafiles): # Test that when I fetch a nonexistent URL, errors are handled gracefully and a retry is performed. -@pytest.mark.skipif(HAVE_ARPY is False, reason="arpy is not available") +@pytest.mark.xfail(HAVE_ARPY is False, reason="arpy is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'fetch')) def test_fetch_bad_url(cli, tmpdir, datafiles): project = str(datafiles) @@ -61,7 +61,7 @@ def test_fetch_bad_url(cli, tmpdir, datafiles): result.assert_task_error(ErrorDomain.SOURCE, None) -@pytest.mark.skipif(HAVE_ARPY is False, reason="arpy is not available") +@pytest.mark.xfail(HAVE_ARPY is False, reason="arpy is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'fetch')) def test_fetch_bad_ref(cli, tmpdir, datafiles): project = str(datafiles) @@ -79,7 +79,7 @@ def test_fetch_bad_ref(cli, tmpdir, datafiles): # Test that when tracking with a ref set, there is a warning -@pytest.mark.skipif(HAVE_ARPY is False, reason="arpy is not available") +@pytest.mark.xfail(HAVE_ARPY is False, reason="arpy is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'fetch')) def test_track_warning(cli, tmpdir, datafiles): project = str(datafiles) @@ -97,7 +97,7 @@ def test_track_warning(cli, tmpdir, datafiles): # Test that a staged checkout matches what was tarred up, with the default first subdir -@pytest.mark.skipif(HAVE_ARPY is False, reason="arpy is not available") +@pytest.mark.xfail(HAVE_ARPY is False, reason="arpy is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'fetch')) def test_stage_default_basedir(cli, tmpdir, datafiles): project = str(datafiles) @@ -125,7 +125,7 @@ def test_stage_default_basedir(cli, tmpdir, datafiles): # Test that a staged checkout matches what was tarred up, with an empty base-dir -@pytest.mark.skipif(HAVE_ARPY is False, reason="arpy is not available") +@pytest.mark.xfail(HAVE_ARPY is False, reason="arpy is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'no-basedir')) def test_stage_no_basedir(cli, tmpdir, datafiles): project = str(datafiles) @@ -153,7 +153,7 @@ def test_stage_no_basedir(cli, tmpdir, datafiles): # Test that a staged checkout matches what was tarred up, with an explicit basedir -@pytest.mark.skipif(HAVE_ARPY is False, reason="arpy is not available") +@pytest.mark.xfail(HAVE_ARPY is False, reason="arpy is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'explicit-basedir')) def test_stage_explicit_basedir(cli, tmpdir, datafiles): project = str(datafiles) |