mirror of
https://github.com/borgbackup/borg.git
synced 2026-07-06 16:57:30 -04:00
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:
parent
6529346861
commit
cf0968ac82
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue