#NEWLINE# def run_save_translation_missing( self , source_string , input_string , expected_string ) : #NEWLINE# #INDENT# "\n        If the source resource has a string but the translated resource\n        doesn't, the returned resource should have an empty translation\n        that can be modified and saved.\n\n        Source Example:\n            String=Source String\n            MissingString=Missing Source String\n\n        Input Example:\n            String=Translated String\n\n        Expected Example:\n            String=Translated String\n            MissingString=Translated Missing String\n        " #NEWLINE# ( path , resource ) = self . parse_string ( missing_translation , source_string = source_string ) #NEWLINE# missing_translation = match_attr ( resource . translations , key = 'MissingString' ) #NEWLINE# missing_translation . strings = { #NEWLINE# #INDENT# None : 'Translated Missing String' , #NEWLINE# #UNINDENT# } #NEWLINE# resource . save ( self . locale ) #NEWLINE# self . assert_file_content ( path , expected_string )