#NEWLINE# def test_sub_qs_single_match_inner_squotes( self ) : #NEWLINE# #INDENT# 'Test quotedstring single match with inner single quotes' #NEWLINE# line = 'password = "df35\'@\'$^%ds"' #NEWLINE# out = self . secrets [ 1 ] . sub ( out ) #NEWLINE# self . assertEqual ( out , 'password = $DotSecrets: passwd_1$' )