moto/tests/test_swf/test_utils.py

10 lines
261 B
Python
Raw Normal View History

2018-12-21 11:28:56 +00:00
import sure # noqa
from moto.swf.utils import decapitalize
def test_decapitalize():
cases = {"fooBar": "fooBar", "FooBar": "fooBar", "FOO BAR": "fOO BAR"}
2018-12-21 11:28:56 +00:00
for before, after in cases.items():
decapitalize(before).should.equal(after)