Skip to content

Commit

Permalink
test(cli): add more real class scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
nejch committed May 15, 2021
1 parent 4252070 commit 8cf5031
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gitlab/tests/test_cli.py
Expand Up @@ -34,6 +34,9 @@
("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):
Expand All @@ -53,6 +56,9 @@ def _namespace():
("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):
Expand Down

0 comments on commit 8cf5031

Please sign in to comment.