MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / test_file_patterns

Function test_file_patterns

tests/test_file_pattern_matching.py:83–87  ·  view source on GitHub ↗
(pattern: str, path: str, should_match: bool)

Source from the content-addressed store, hash-verified

81
82@pytest.mark.parametrize("pattern,path,should_match", CASES)
83def test_file_patterns(pattern: str, path: str, should_match: bool):
84 p = FilePatternMatcher(pattern)
85 loc = ScanLocation(location=Path(path))
86
87 assert p.match(loc) is should_match
88

Callers

nothing calls this directly

Calls 3

matchMethod · 0.95
FilePatternMatcherClass · 0.90
ScanLocationClass · 0.90

Tested by

no test coverage detected