diff options
Diffstat (limited to 'tests/TestRulePackage/tests.py')
| -rw-r--r-- | tests/TestRulePackage/tests.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/TestRulePackage/tests.py b/tests/TestRulePackage/tests.py new file mode 100644 index 00000000..37a6a301 --- /dev/null +++ b/tests/TestRulePackage/tests.py @@ -0,0 +1,10 @@ +from infini.matcher import matcher, MatcherEvent + +def test(): + event = MatcherEvent("MyRule") + try: + matcher.run(event) + except Exception as error: + return [error] + finally: + return [] |
