#NEWLINE# def test_services_put( self ) : #NEWLINE# #INDENT# uuid = self . _create_service ( ) #NEWLINE# updated_data = { #NEWLINE# #INDENT# 'name' : 'test_service_updated' , #NEWLINE# 'description' : 'A test to create service updated' , #NEWLINE# 'user_id' : 'user_id updated' , #NEWLINE# 'service_type' : 'mysql updated' , #NEWLINE# 'read_only' : False , #NEWLINE# #UNINDENT# } #NEWLINE# updated_json = json . dumps ( updated_data ) #NEWLINE# ( resp , body ) = self . client . put ( ( 'v1/services/%s' % uuid ) , body ) #NEWLINE# self . assertEqual ( resp . status , 200 ) #NEWLINE# json_data = json . loads ( body ) #NEWLINE# self . _assert_output_expected ( json_data , updated_data ) #NEWLINE# self . _delete_service ( uuid )