Skip to content

Commit

Permalink
fix(test): make sure dl_url is a string (#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts authored Dec 3, 2024
2 parents e69ca0f + 4b6c4ac commit 59a5ef1
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tests/test_cli_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,16 @@ def test_release_assets_download_links(self):
for os in SUPPORTED_OPERATING_SYSTEMS_CODENAMES
]
self.assertTrue(len(dl_hyperlinks), 3)
self.assertTrue(all([dl_url.startswith("https") for dl_url in dl_hyperlinks]))

self.assertTrue(
all(
[
dl_url.startswith("https")
for dl_url in dl_hyperlinks
if isinstance(dl_url, str)
]
)
)


# #############################################################################
Expand Down

0 comments on commit 59a5ef1

Please sign in to comment.