summaryrefslogtreecommitdiff
path: root/tests/format/junctions.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/format/junctions.py')
-rw-r--r--tests/format/junctions.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/format/junctions.py b/tests/format/junctions.py
index b810c55a3..91963c489 100644
--- a/tests/format/junctions.py
+++ b/tests/format/junctions.py
@@ -315,7 +315,7 @@ def test_options_inherit(cli, tmpdir, datafiles):
assert os.path.exists(os.path.join(checkoutdir, 'horsy.txt'))
-@pytest.mark.skipif(HAVE_GIT is False, reason="git is not available")
+@pytest.mark.xfail(HAVE_GIT is False, reason="git is not available")
@pytest.mark.datafiles(DATA_DIR)
def test_git_show(cli, tmpdir, datafiles):
project = os.path.join(str(datafiles), 'foo')
@@ -339,7 +339,7 @@ def test_git_show(cli, tmpdir, datafiles):
assert 'base.bst:target.bst' in element_list
-@pytest.mark.skipif(HAVE_GIT is False, reason="git is not available")
+@pytest.mark.xfail(HAVE_GIT is False, reason="git is not available")
@pytest.mark.datafiles(DATA_DIR)
def test_git_build(cli, tmpdir, datafiles):
project = os.path.join(str(datafiles), 'foo')
@@ -369,7 +369,7 @@ def test_git_build(cli, tmpdir, datafiles):
assert os.path.exists(os.path.join(checkoutdir, 'foo.txt'))
-@pytest.mark.skipif(HAVE_GIT is False, reason="git is not available")
+@pytest.mark.xfail(HAVE_GIT is False, reason="git is not available")
@pytest.mark.datafiles(DATA_DIR)
def test_git_missing_project_conf(cli, tmpdir, datafiles):
project = datafiles / 'foo'