mirror of
https://github.com/borgbackup/borg.git
synced 2026-02-20 00:10:35 -05:00
test(compress): roundtrip through UI parsing
This commit is contained in:
parent
9b84a2c235
commit
261705c4c1
1 changed files with 1 additions and 1 deletions
|
|
@ -215,7 +215,7 @@ def test_obfuscate():
|
|||
],
|
||||
)
|
||||
def test_padme_obfuscation(data_length, expected_padding):
|
||||
compressor = Compressor(name="obfuscate", level=250, compressor=Compressor("none"))
|
||||
compressor = CompressionSpec("obfuscate,250,none").compressor
|
||||
# The inner compressor will add an inner header of 2 bytes, so we reduce the data length by 2 bytes
|
||||
# to be able to use (almost) the same test cases as in the master branch.
|
||||
data = b"x" * (data_length - 2)
|
||||
|
|
|
|||
Loading…
Reference in a new issue