MCPcopy
hub / github.com/borgbackup/borg / test_parse_pattern

Function test_parse_pattern

src/borg/testsuite/patterns_test.py:590–591  ·  view source on GitHub ↗
(pattern, cls)

Source from the content-addressed store, hash-verified

588 ],
589)
590def test_parse_pattern(pattern, cls):
591 assert isinstance(parse_pattern(pattern), cls)
592
593
594@pytest.mark.parametrize("pattern", ["aa:", "fo:*", "00:", "x1:abc"])

Callers

nothing calls this directly

Calls 1

parse_patternFunction · 0.85

Tested by

no test coverage detected