Skip to content

Commit ef16015

Browse files
committed
chore: skip import/export tests for now
1 parent 61ae3f1 commit ef16015

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

tests/functional/api/test_bulk_imports.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ def bulk_import_enabled(gl: gitlab.Gitlab):
2424
settings.save()
2525

2626

27+
# https://github.com/python-gitlab/python-gitlab/pull/2790#pullrequestreview-1873617123
28+
@pytest.mark.skip(reason="Bulk Imports to be worked on in a follow up")
2729
def test_bulk_imports(gl, group, bulk_import_enabled):
2830
destination = f"{group.full_path}-import"
2931
configuration = {

tests/functional/api/test_import_export.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
import gitlab
66

77

8+
# https://github.com/python-gitlab/python-gitlab/pull/2790#pullrequestreview-1873617123
9+
@pytest.mark.skip(reason="Import/Export to be worked on in a follow up")
810
def test_group_import_export(gl, group, temp_dir):
911
export = group.exports.create()
1012
assert export.message == "202 Accepted"
@@ -31,6 +33,8 @@ def test_group_import_export(gl, group, temp_dir):
3133
assert group_import.name == import_name
3234

3335

36+
# https://github.com/python-gitlab/python-gitlab/pull/2790#pullrequestreview-1873617123
37+
@pytest.mark.skip(reason="Import/Export to be worked on in a follow up")
3438
def test_project_import_export(gl, project, temp_dir):
3539
export = project.exports.create()
3640
assert export.message == "202 Accepted"
@@ -68,6 +72,8 @@ def test_project_import_export(gl, project, temp_dir):
6872
raise Exception("Project import taking too much time")
6973

7074

75+
# https://github.com/python-gitlab/python-gitlab/pull/2790#pullrequestreview-1873617123
76+
@pytest.mark.skip(reason="Import/Export to be worked on in a follow up")
7177
def test_project_remote_import(gl):
7278
with pytest.raises(gitlab.exceptions.GitlabImportError) as err_info:
7379
gl.projects.remote_import(
@@ -80,6 +86,8 @@ def test_project_remote_import(gl):
8086
)
8187

8288

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

0 commit comments

Comments
 (0)