Skip to content

Commit 13cb4ad

Browse files
committed
chore: use xfail not skip
Signed-off-by: Tim Knight <tim.knight1@engineering.digital.dwp.gov.uk>
1 parent d219fd5 commit 13cb4ad

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tests/functional/api/test_import_export.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
# https://github.com/python-gitlab/python-gitlab/pull/2790#pullrequestreview-1873617123
9-
@pytest.mark.xfail(reason="Import/Export to be worked on in a follow up")
9+
@pytest.mark.xfail(reason="test_group_import_export to be worked on in a follow up")
1010
def test_group_import_export(gl, group, temp_dir):
1111
export = group.exports.create()
1212
assert export.message == "202 Accepted"
@@ -34,7 +34,7 @@ def test_group_import_export(gl, group, temp_dir):
3434

3535

3636
# https://github.com/python-gitlab/python-gitlab/pull/2790#pullrequestreview-1873617123
37-
@pytest.mark.xfail(reason="Import/Export to be worked on in a follow up")
37+
@pytest.mark.xfail(reason="test_project_import_export to be worked on in a follow up")
3838
def test_project_import_export(gl, project, temp_dir):
3939
export = project.exports.create()
4040
assert export.message == "202 Accepted"
@@ -73,7 +73,7 @@ def test_project_import_export(gl, project, temp_dir):
7373

7474

7575
# https://github.com/python-gitlab/python-gitlab/pull/2790#pullrequestreview-1873617123
76-
@pytest.mark.xfail(reason="Import/Export to be worked on in a follow up")
76+
@pytest.mark.xfail(reason="test_project_remote_import to be worked on in a follow up")
7777
def test_project_remote_import(gl):
7878
with pytest.raises(gitlab.exceptions.GitlabImportError) as err_info:
7979
gl.projects.remote_import(
@@ -87,7 +87,9 @@ def test_project_remote_import(gl):
8787

8888

8989
# https://github.com/python-gitlab/python-gitlab/pull/2790#pullrequestreview-1873617123
90-
@pytest.mark.xfail(reason="Import/Export to be worked on in a follow up")
90+
@pytest.mark.xfail(
91+
reason="test_project_remote_import_s3 to be worked on in a follow up"
92+
)
9193
def test_project_remote_import_s3(gl):
9294
gl.features.set("import_project_from_remote_file_s3", True)
9395
with pytest.raises(gitlab.exceptions.GitlabImportError) as err_info:

0 commit comments

Comments
 (0)