#NEWLINE# def test_save_remove_hash( self ) : #NEWLINE# #INDENT# input_string = '\n        <first_hash {\n            one: "First hash"\n        }>\n        <second_hash {\n            one: "Second hash"\n        }>\n        ' #NEWLINE# expected_string = '\n<first_hash {\n  one: "First hash"\n}>\n' #NEWLINE# def remove_hash( res ) : #NEWLINE# #INDENT# attr_translation = res . translations [ 1 ] #NEWLINE# attr_translation . strings = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# self . run_save_remove ( input_string , input_string , input_string , remove_cb = remove_hash )