Apply suggested fix to src/borg/testsuite/archiver/extract_cmd_test.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
TW 2026-07-04 12:37:14 +02:00 committed by GitHub
parent 6529346861
commit cf0968ac82
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -587,7 +587,7 @@ def test_extract_xattrs_errors(archivers, request):
def test_extract_xattrs_resourcefork(archivers, request):
archiver = request.getfixturevalue(archivers)
create_regular_file(archiver.input_path, "file")
cmd(archiver, "repo-create", "-e" "none")
cmd(archiver, "repo-create", "-e", "none")
input_path = os.path.abspath("input/file")
xa_key, xa_value = b"com.apple.ResourceFork", b"whatshouldbehere" # issue #7234
xattr.setxattr(input_path.encode(), xa_key, xa_value)