#NEWLINE# def should_correctly_parse_value( self , data ) : #NEWLINE# #INDENT# ( type , test_data , expected_data ) = data #NEWLINE# BaseFilter . compile_regex ( { #NEWLINE# #INDENT# 'name' : 'x' , #NEWLINE# 'params' : [ type ] , #NEWLINE# #UNINDENT# } ) #NEWLINE# f = BaseFilter ( ( 'x(%s)' % test_data ) ) #NEWLINE# expect ( f . params [ 0 ] ) . to_equal ( expected_data )