Skip to content

Commit

Permalink
test(cli): add test for user-project list
Browse files Browse the repository at this point in the history
  • Loading branch information
nejch committed Oct 12, 2023
1 parent 016d90c commit a788cff
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/functional/cli/test_cli_users.py
Expand Up @@ -12,3 +12,10 @@ def test_create_user_impersonation_token_with_scopes(gitlab_cli, user):
ret = gitlab_cli(cmd)

assert ret.success


def test_list_user_projects(gitlab_cli, user):
cmd = ["user-project", "list", "--user-id", user.id]
ret = gitlab_cli(cmd)

assert ret.success

0 comments on commit a788cff

Please sign in to comment.