moto/tests/test_swf/test_utils.py
2018-12-21 12:28:56 +01:00

14 lines
296 B
Python

import sure # noqa
from moto.swf.utils import decapitalize
def test_decapitalize():
cases = {
"fooBar": "fooBar",
"FooBar": "fooBar",
"FOO BAR": "fOO BAR",
}
for before, after in cases.items():
decapitalize(before).should.equal(after)