From 261705c4c17de7301a30ff9c59aac4e0551c85ef Mon Sep 17 00:00:00 2001 From: MultisampledNight <80128916+MultisampledNight@users.noreply.github.com> Date: Mon, 9 Feb 2026 23:19:20 +0100 Subject: [PATCH] test(compress): roundtrip through UI parsing --- src/borg/testsuite/compress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/borg/testsuite/compress.py b/src/borg/testsuite/compress.py index 160f250fc..719c80f0d 100644 --- a/src/borg/testsuite/compress.py +++ b/src/borg/testsuite/compress.py @@ -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)