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

Function test_parse_pattern_error

src/borg/testsuite/patterns_test.py:595–597  ·  view source on GitHub ↗
(pattern)

Source from the content-addressed store, hash-verified

593
594@pytest.mark.parametrize("pattern", ["aa:", "fo:*", "00:", "x1:abc"])
595def test_parse_pattern_error(pattern):
596 with pytest.raises(ValueError):
597 parse_pattern(pattern)
598
599
600def test_pattern_matcher():

Callers

nothing calls this directly

Calls 1

parse_patternFunction · 0.85

Tested by

no test coverage detected