Skip to content

Commit

Permalink
ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisvang committed Nov 14, 2023
1 parent 7d4c526 commit 20ffbe9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,10 @@ def test_purge(self):
subdir.mkdir()
readonly_file = dir_to_purge / 'readonly.dummy'
items_to_purge = [
readonly_file, dir_to_purge / 'some.dummy', subdir / 'other.dummy', subdir
readonly_file,
dir_to_purge / 'some.dummy',
subdir / 'other.dummy',
subdir,
]
items_to_keep = [dir_to_purge / 'file.to.keep']
for item in items_to_purge + items_to_keep:
Expand Down
1 change: 0 additions & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def test_remove_readonly_file(self):
if ON_WINDOWS:
self.assertTrue(tufup.utils.remove_path(file_path, remove_readonly=True))


def test_remove_readonly_dir(self):
"""
on linux: a readonly directory prevents deletion of the directory itself
Expand Down

0 comments on commit 20ffbe9

Please sign in to comment.