def test_match(conf, query, output): e = Engine() e.insert_bulk(conf) assert list(e.query(query)) == output
def test_collapse_join(conf, query, result): e = Engine() e.insert_bulk(CONF1) list(e.query(query)) assert e.dump("indent") == result