Skip to content

Commit

Permalink
ruff formatting...
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisvang committed Feb 6, 2024
1 parent dcc4a63 commit adb0a8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/tufup/utils/platform_specific.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def _install_update_win(
batch_template_extra_kwargs: Optional[dict] = None,
log_file_name: Optional[str] = None,
robocopy_options_override: Optional[List[str]] = None,
process_creation_flags = None,
process_creation_flags=None,
):
"""
Create a batch script that moves files from src to dst, then run the
Expand Down
6 changes: 3 additions & 3 deletions tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,9 @@ def test__apply_updates(self):
with self.subTest(msg='patch failure due to mismatch'):
mock_install = Mock()
with patch.object(
client.new_archive_info,
'verify_length_and_hashes',
Mock(side_effect=LengthOrHashMismatchError()),
client.new_archive_info,
'verify_length_and_hashes',
Mock(side_effect=LengthOrHashMismatchError()),
):
client._apply_updates(install=mock_install, skip_confirmation=True)
mock_install.assert_not_called()
Expand Down

0 comments on commit adb0a8f

Please sign in to comment.