← 返回首页
chore: swap assertions · python-gitlab/python-gitlab@9d5b099 · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Commit 9d5b099

Browse files
committed
chore: swap assertions
- Will raise MR vs Gitlab docs to clarify on there too Signed-off-by: Tim Knight <tim.knight1@engineering.digital.dwp.gov.uk>
1 parent a7218e5 commit 9d5b099

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

‎tests/functional/api/test_project_job_token_scope.py‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ def test_enable_limit_access_to_this_project(gl, project):
77

88
scope.refresh()
99

10-
# https://docs.gitlab.com/ee/api/project_job_token_scopes.html#get-a-projects-cicd-job-token-access-settings
11-
# suggests inbound_enabled True, means other projects have access, i.e. Limit Access to is OFF
12-
assert not scope.inbound_enabled
10+
assert scope.inbound_enabled
1311

1412

1513
def test_disable_limit_access_to_this_project(gl, project):
@@ -20,9 +18,7 @@ def test_disable_limit_access_to_this_project(gl, project):
2018

2119
scope.refresh()
2220

23-
# https://docs.gitlab.com/ee/api/project_job_token_scopes.html#get-a-projects-cicd-job-token-access-settings
24-
# suggests inbound_enabled True, means other projects have access, i.e. Limit Access to is OFF
25-
assert scope.inbound_enabled
21+
assert not scope.inbound_enabled
2622

2723

2824
def test_add_project_to_job_token_scope_allowlist(gl, project):

0 commit comments

Comments
 (0)

Footer

© 2026 GitHub, Inc.