#NEWLINE# def test_simple( self ) : #NEWLINE# #INDENT# parameters = { #NEWLINE# #INDENT# 'do_get' : self . do_get , #NEWLINE# 'key' : 'key1' , #NEWLINE# 'value' : 'value1' , #NEWLINE# #UNINDENT# } #NEWLINE# result_dict = { #NEWLINE# #INDENT# 'key1' : 'value1' , #NEWLINE# #UNINDENT# } #NEWLINE# ( deployment , _ ) = deploy ( resource ( 'dsl/workflow_api.yaml' ) , self . _testMethodName , parameters = parameters ) #NEWLINE# invocation = self . get_plugin_data ( plugin_name = 'testmockoperations' , deployment_id = deployment . id ) [ 'mock_operation_invocation' ] [ 0 ] #NEWLINE# self . assertDictEqual ( result_dict , invocation ) #NEWLINE# instance = self . client . node_instances . list ( deployment_id = deployment . id ) [ 0 ] #NEWLINE# self . assertEqual ( 'test_state' , instance . state )