#NEWLINE# @ mock_swf #NEWLINE# def test_respond_decision_task_completed_with_missing_attributes_totally( ) : #NEWLINE# #INDENT# conn = setup_workflow ( ) #NEWLINE# resp = conn . poll_for_decision_task ( 'test-domain' , 'queue' ) #NEWLINE# task_token = resp [ 'taskToken' ] #NEWLINE# decisions = [ { #NEWLINE# #INDENT# 'decisionType' : 'StartTimer' , #NEWLINE# #UNINDENT# } ] #NEWLINE# conn . respond_decision_task_completed . when . called_with ( task_token , decisions = decisions ) . should . throw ( SWFResponseError , "Value null at 'decisions.1.member.startTimerDecisionAttributes.timerId' failed to satisfy constraint: Member must not be null" )