12 lines
289 B
Python
12 lines
289 B
Python
from sure import expect
|
|
from moto.swf.utils import decapitalize
|
|
|
|
def test_decapitalize():
|
|
cases = {
|
|
"fooBar": "fooBar",
|
|
"FooBar": "fooBar",
|
|
"FOO BAR": "fOO BAR",
|
|
}
|
|
for before, after in cases.iteritems():
|
|
decapitalize(before).should.equal(after)
|