#NEWLINE# def test__create_service( self ) : #NEWLINE# #INDENT# self . clients ( 'murano' ) . services . post . return_value = 'app' #NEWLINE# mock_env = mock . Mock ( id = 'ip' ) #NEWLINE# mock_sess = mock . Mock ( id = 'ip' ) #NEWLINE# scenario = utils . MuranoScenario ( context = self . context ) #NEWLINE# create_app = scenario . _create_service ( mock_env , create_app , 'fake_full_name' , atomic_action = True ) #NEWLINE# self . assertEqual ( 'app' , create_app ) #NEWLINE# self . _test_atomic_action_timer ( scenario . atomic_actions ( ) , 'murano.create_service' )