Skip to content

Commit faa421d

Browse files
committed
test(cli): add more real class scenarios
1 parent f335435 commit faa421d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

gitlab/tests/test_cli.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
("class", "Class"),
3636
("test-class", "TestClass"),
3737
("test-longer-class", "TestLongerClass"),
38+
("current-user-gpg-key", "CurrentUserGPGKey"),
39+
("user-gpg-key", "UserGPGKey"),
40+
("ldap-group", "LDAPGroup"),
3841
],
3942
)
4043
def test_what_to_cls(what, expected_class):
@@ -54,6 +57,9 @@ def _namespace():
5457
("TestClass", "test-class"),
5558
("TestUPPERCASEClass", "test-uppercase-class"),
5659
("UPPERCASETestClass", "uppercase-test-class"),
60+
("CurrentUserGPGKey", "current-user-gpg-key"),
61+
("UserGPGKey", "user-gpg-key"),
62+
("LDAPGroup", "ldap-group"),
5763
],
5864
)
5965
def test_cls_to_what(class_name, expected_what):

0 commit comments

Comments
 (0)