From faa421dc29cf1d858ec12608fcdd69ccd6c4fc06 Mon Sep 17 00:00:00 2001 From: Nejc Habjan Date: Sun, 7 Mar 2021 12:04:06 +0100 Subject: test(cli): add more real class scenarios --- gitlab/tests/test_cli.py | 6 ++++++ 1 file changed, 6 insertions(+) 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): -- cgit v1.2.1