Skip to content

Commit 8cf5031

Browse files
committed
test(cli): add more real class scenarios
1 parent 4252070 commit 8cf5031

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
@@ -34,6 +34,9 @@
3434
("class", "Class"),
3535
("test-class", "TestClass"),
3636
("test-longer-class", "TestLongerClass"),
37+
("current-user-gpg-key", "CurrentUserGPGKey"),
38+
("user-gpg-key", "UserGPGKey"),
39+
("ldap-group", "LDAPGroup"),
3740
],
3841
)
3942
def test_what_to_cls(what, expected_class):
@@ -53,6 +56,9 @@ def _namespace():
5356
("TestClass", "test-class"),
5457
("TestUPPERCASEClass", "test-uppercase-class"),
5558
("UPPERCASETestClass", "uppercase-test-class"),
59+
("CurrentUserGPGKey", "current-user-gpg-key"),
60+
("UserGPGKey", "user-gpg-key"),
61+
("LDAPGroup", "ldap-group"),
5662
],
5763
)
5864
def test_cls_to_what(class_name, expected_what):

0 commit comments

Comments
 (0)