Fix camelcase_to_underscore. Closes #767.

This commit is contained in:
Steve Pulec 2017-03-15 23:39:36 -04:00
commit 25e2af0320
6 changed files with 28 additions and 72 deletions

View file

@ -11,6 +11,7 @@ def test_camelcase_to_underscores():
"theNewAttribute": "the_new_attribute",
"attri bute With Space": "attribute_with_space",
"FirstLetterCapital": "first_letter_capital",
"ListMFADevices": "list_mfa_devices",
}
for arg, expected in cases.items():
camelcase_to_underscores(arg).should.equal(expected)