diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2021-03-07 12:04:06 +0100 |
---|---|---|
committer | Nejc Habjan <hab.nejc@gmail.com> | 2021-03-07 12:04:06 +0100 |
commit | faa421dc29cf1d858ec12608fcdd69ccd6c4fc06 (patch) | |
tree | 119fc6d205c500c6d83a8931b38557a86ca6c422 /gitlab/tests/test_cli.py | |
parent | f335435f8e2c4a6136388cfdcbc21795071b5810 (diff) | |
download | gitlab-fix/parse-cli-objects-camelcase.tar.gz |
test(cli): add more real class scenariosfix/parse-cli-objects-camelcase
Diffstat (limited to 'gitlab/tests/test_cli.py')
-rw-r--r-- | gitlab/tests/test_cli.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gitlab/tests/test_cli.py b/gitlab/tests/test_cli.py index 12e3e42..1112ff5 100644 --- a/gitlab/tests/test_cli.py +++ b/gitlab/tests/test_cli.py @@ -35,6 +35,9 @@ import gitlab.v4.cli ("class", "Class"), ("test-class", "TestClass"), ("test-longer-class", "TestLongerClass"), + ("current-user-gpg-key", "CurrentUserGPGKey"), + ("user-gpg-key", "UserGPGKey"), + ("ldap-group", "LDAPGroup"), ], ) def test_what_to_cls(what, expected_class): @@ -54,6 +57,9 @@ def test_what_to_cls(what, expected_class): ("TestClass", "test-class"), ("TestUPPERCASEClass", "test-uppercase-class"), ("UPPERCASETestClass", "uppercase-test-class"), + ("CurrentUserGPGKey", "current-user-gpg-key"), + ("UserGPGKey", "user-gpg-key"), + ("LDAPGroup", "ldap-group"), ], ) def test_cls_to_what(class_name, expected_what): |