Skip to content

Commit a788cff

Browse files
committed
test(cli): add test for user-project list
1 parent 016d90c commit a788cff

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/functional/cli/test_cli_users.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,10 @@ def test_create_user_impersonation_token_with_scopes(gitlab_cli, user):
1212
ret = gitlab_cli(cmd)
1313

1414
assert ret.success
15+
16+
17+
def test_list_user_projects(gitlab_cli, user):
18+
cmd = ["user-project", "list", "--user-id", user.id]
19+
ret = gitlab_cli(cmd)
20+
21+
assert ret.success

0 commit comments

Comments
 (0)