| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ff04900 commit e0a3a41
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -39,6 +39,7 @@ | |||
| 39 | 39 | from .features import * | |
| 40 | 40 | from .files import * | |
| 41 | 41 | from .geo_nodes import * | |
| 42 | + from .group_access_tokens import * | ||
| 42 | 43 | from .groups import * | |
| 43 | 44 | from .hooks import * | |
| 44 | 45 | from .issues import * | |
@@ -58,9 +59,11 @@ | |||
| 58 | 59 | from .pages import * | |
| 59 | 60 | from .personal_access_tokens import * | |
| 60 | 61 | from .pipelines import * | |
| 62 | + from .project_access_tokens import * | ||
| 61 | 63 | from .projects import * | |
| 62 | 64 | from .push_rules import * | |
| 63 | 65 | from .releases import * | |
| 66 | + from .repositories import * | ||
| 64 | 67 | from .runners import * | |
| 65 | 68 | from .services import * | |
| 66 | 69 | from .settings import * | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,16 @@ | |||
| 1 | + import pytest | ||
| 2 | + | ||
| 3 | + | ||
| 4 | + def test_list_project_access_tokens(gitlab_cli, project): | ||
| 5 | + cmd = ["project-access-token", "list", "--project-id", project.id] | ||
| 6 | + ret = gitlab_cli(cmd) | ||
| 7 | + | ||
| 8 | + assert ret.success | ||
| 9 | + | ||
| 10 | + | ||
| 11 | + @pytest.mark.skip(reason="Requires GitLab 14.7") | ||
| 12 | + def test_list_group_access_tokens(gitlab_cli, group): | ||
| 13 | + cmd = ["group-access-token", "list", "--group-id", group.id] | ||
| 14 | + ret = gitlab_cli(cmd) | ||
| 15 | + | ||
| 16 | + assert ret.success | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments