()
| 5 | |
| 6 | |
| 7 | def test_basic(): |
| 8 | matcher = PatternMatcher() |
| 9 | matcher.add([parse_pattern("included")], IECommand.Include) |
| 10 | filter = build_filter(matcher, 0) |
| 11 | assert filter(Item(path="included")) |
| 12 | assert filter(Item(path="included/file")) |
| 13 | assert not filter(Item(path="something else")) |
| 14 | |
| 15 | |
| 16 | def test_empty(): |
nothing calls this directly
no test coverage detected