#NEWLINE# def test_string_if_invalid_both_are_strings( self ) : #NEWLINE# #INDENT# TEMPLATES = deepcopy ( self . TEMPLATES_STRING_IF_INVALID ) #NEWLINE# TEMPLATES [ 0 ] [ 'OPTIONS' ] [ 'string_if_invalid' ] = 'test' #NEWLINE# TEMPLATES [ 1 ] [ 'OPTIONS' ] [ 'string_if_invalid' ] = 'test' #NEWLINE# with self . settings ( TEMPLATES = self ) : #NEWLINE# #INDENT# self . assertEqual ( self . func ( None ) , [ ] )