Testing that only example 5 is in the skip list.

This commit is contained in:
Roland 2022-04-07 11:32:23 -06:00
parent 35f5662571
commit 79ea0a33f0
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -284,4 +284,4 @@ def test_clear_downloads(test_session, test_client, test_config):
check_downloads(response, once_downloads, recurring_downloads, status_code=HTTPStatus.OK)
# Failed once-downloads will not be downloaded again.
assert 'https://example.com/5' in DOWNLOAD_MANAGER_CONFIG.skip_urls
assert DOWNLOAD_MANAGER_CONFIG.skip_urls == ['https://example.com/5',]