Fix camelcase_to_underscore. Closes #767.
This commit is contained in:
parent
446843e756
commit
25e2af0320
6 changed files with 28 additions and 72 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue