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)
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)