Add checks for *DecisionAttributes within RespondDecisionTaskCompleted
This commit is contained in:
parent
507351612e
commit
558b84fb6a
6 changed files with 169 additions and 7 deletions
11
tests/test_swf/test_utils.py
Normal file
11
tests/test_swf/test_utils.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue