Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
Signed-off-by: NicholasTanz <[email protected]>
  • Loading branch information
NicholasTanz committed Feb 12, 2025
1 parent 6318760 commit 2ac8bdc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_updater_ng.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,9 @@ def test_persist_metadata_fails(
def test_invalid_target_base_url(self) -> None:
info = TargetFile(1, {"sha256": ""}, "targetpath")
with self.assertRaises(exceptions.DownloadError):
self.updater.download_target(info, target_base_url="http://invalid/")
self.updater.download_target(
info, target_base_url="http://invalid/"
)

def test_non_existing_target_file(self) -> None:
info = TargetFile(1, {"sha256": ""}, "/non_existing_file.txt")
Expand Down

0 comments on commit 2ac8bdc

Please sign in to comment.