From aceab4bf698f6d3643d38da5b582c1d176e9ea74 Mon Sep 17 00:00:00 2001 From: Jevgeni Kiski Date: Fri, 27 Sep 2024 12:22:04 +0300 Subject: [PATCH] Add event filter -restore test --- tests/lib/test_event_filter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/lib/test_event_filter.py b/tests/lib/test_event_filter.py index 1f6eb253..c944689c 100644 --- a/tests/lib/test_event_filter.py +++ b/tests/lib/test_event_filter.py @@ -16,6 +16,7 @@ def test_tag_match(): assert EventTagFilter(["partition+arm"]).match(event) is True assert EventTagFilter(["partition+arm+restore"]).match(event) is True + assert EventTagFilter(["partition,arm,-restore"]).match(event) is False assert EventTagFilter(["partition"]).match(event) is True assert EventTagFilter(["arm"]).match(event) is True assert EventTagFilter(["arm-zone"]).match(event) is True