def run(self):
     parts = NUMERIC_EXPRESSION_REGEX.findall(value)
     result = parse_expression("field", parts)
     query_children = query_to_child_tuples(result)
     self.assertEquals(expected, query_children)
예제 #2
0
 def run(self):
     parts = STRING_EXPRESSION_REGEX.findall(value)
     result = parse_expression("field", parts)
     query_children = query_to_child_tuples(result)
     self.assertEquals(expected, query_children)