FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-gitlab/tools/functional/cli/test_cli_variables.py at master · icanka/python-gitlab · GitHub
icanka
python-gitlab
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-gitlab
/
tools
/
functional
/
cli
/
test_cli_variables.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (12 loc) · 467 Bytes
Breadcrumbs
python-gitlab
/
tools
/
functional
/
cli
/
test_cli_variables.py
Copy path
File metadata and controls
19 lines (12 loc) · 467 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
def
test_list_instance_variables
(
gitlab_cli
,
gl
):
cmd
=
[
"variable"
,
"list"
]
ret
=
gitlab_cli
(
cmd
)
assert
ret
.
success
def
test_list_group_variables
(
gitlab_cli
,
group
):
cmd
=
[
"group-variable"
,
"list"
,
"--group-id"
,
group
.
id
]
ret
=
gitlab_cli
(
cmd
)
assert
ret
.
success
def
test_list_project_variables
(
gitlab_cli
,
project
):
cmd
=
[
"project-variable"
,
"list"
,
"--project-id"
,
project
.
id
]
ret
=
gitlab_cli
(
cmd
)
assert
ret
.
success
Back
|
FazBrowse Home
|
New Git URL