mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-01 12:45:34 +00:00
strip_components: remove bad test
This commit is contained in:
parent
8060d4100a
commit
7686a721af
1 changed files with 0 additions and 1 deletions
|
@ -22,6 +22,5 @@ def test_strip_components(self):
|
|||
matcher = PatternMatcher(fallback=True)
|
||||
filter = build_filter(matcher, strip_components=1)
|
||||
assert not filter(Item(path="shallow"))
|
||||
assert not filter(Item(path="shallow/")) # can this even happen? paths are normalized...
|
||||
assert filter(Item(path="deep enough/file"))
|
||||
assert filter(Item(path="something/dir/file"))
|
||||
|
|
Loading…
Reference in a new issue