Skip to content

Commit 11ac87a

Browse files
committed
Revert "test: skip in Gitlab 15"
This reverts commit 4a3d758.
1 parent 4a3d758 commit 11ac87a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tests/functional/api/test_project_job_token_scope.py

-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
import pytest
2-
3-
4-
# TODO: can be enabled when https://github.com/python-gitlab/python-gitlab/pull/2790 merged
5-
@pytest.mark.xfail(reason="project job_token_scope api only in 16.*")
61
def test_add_project_to_job_token_scope_allowlist(gl, project):
72
project_to_add = gl.projects.create({"name": "Ci_Cd_token_add_proj"})
83

@@ -15,7 +10,6 @@ def test_add_project_to_job_token_scope_allowlist(gl, project):
1510
project_to_add.delete()
1611

1712

18-
@pytest.mark.xfail(reason="project job_token_scope api only in 16.*")
1913
def test_projects_job_token_scope_allowlist_contains_added_project_name(gl, project):
2014
scope = project.job_token_scope.get()
2115
assert len(scope.allowlist.list()) == 0
@@ -30,7 +24,6 @@ def test_projects_job_token_scope_allowlist_contains_added_project_name(gl, proj
3024
project_to_add.delete()
3125

3226

33-
@pytest.mark.xfail(reason="project job_token_scope api only in 16.*")
3427
def test_remove_project_by_id_from_projects_job_token_scope_allowlist(gl, project):
3528
scope = project.job_token_scope.get()
3629
assert len(scope.allowlist.list()) == 0

0 commit comments

Comments
 (0)