diff options
author | John L. Villalovos <john@sodarock.com> | 2022-06-05 08:17:15 -0700 |
---|---|---|
committer | John L. Villalovos <john@sodarock.com> | 2022-06-05 08:17:15 -0700 |
commit | fb3f28a053f0dcf0a110bb8b6fd11696b4ba3dd9 (patch) | |
tree | aa8e9672de5efd7c84e54ccb1ba4f123e45ce1d6 /tests/unit/test_cli.py | |
parent | 6cdccd90177a70835db176155cf6d0dde70989d3 (diff) | |
download | gitlab-fb3f28a053f0dcf0a110bb8b6fd11696b4ba3dd9.tar.gz |
chore: rename `whaction` and `action` to `resource_action` in CLI
Rename the variables `whaction` and `action` to `resource_action` to
improve code-readability.
Diffstat (limited to 'tests/unit/test_cli.py')
-rw-r--r-- | tests/unit/test_cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_cli.py b/tests/unit/test_cli.py index 2da8ddf..ef33b5d 100644 --- a/tests/unit/test_cli.py +++ b/tests/unit/test_cli.py @@ -126,7 +126,7 @@ def test_v4_parse_args(): parser = cli._get_parser() args = parser.parse_args(["project", "list"]) assert args.gitlab_resource == "project" - assert args.whaction == "list" + assert args.resource_action == "list" def test_v4_parser(): |