aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests/TestRulePackage/tests.py
blob: 37a6a301ea1992d6f81d86f80ecb7d3e9e98ff45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
from infini.matcher import matcher, MatcherEvent

def test():
    event = MatcherEvent("MyRule")
    try:
        matcher.run(event)
    except Exception as error:
        return [error]
    finally:
        return []