Skip to content

Commit

Permalink
Add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoucheiron committed Jul 15, 2024
1 parent f87c16e commit ceee567
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/config/test_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,10 @@ def test_filter(filter_name, args, expected_result):
(Filter(eval={"set": []}), {}, set()),
(Filter(eval={"set": {"80"}}), {}, {"80"}),
(Filter(eval={"set": ["80"]}), {}, {"80"}),
(Filter(eval={"set": {"80": 100}}), {}, {"80"}),
(Filter(eval={"set": {"80": 100, "90": 100}}), {}, {"80", "90"}),
(Filter(eval={"set": ["80", "443"]}), {}, {"80", "443"}),
(Filter(eval={"set": {"80", "443"}}), {}, {"80", "443"}),
(Filter(eval={"set": ["80", "443", "8080"]}), {}, {"80", "443", "8080"}),
],
)
Expand Down

0 comments on commit ceee567

Please sign in to comment.