示例#1
0
文件: test_match.py 项目: nbashev/noc
def test_match(conf, query, output):
    e = Engine()
    e.insert_bulk(conf)
    assert list(e.query(query)) == output
示例#2
0
def test_collapse_join(conf, query, result):
    e = Engine()
    e.insert_bulk(CONF1)
    list(e.query(query))
    assert e.dump("indent") == result