Error 1:
@pytest.mark.parametrize("urls_http,urls_docker,urls_other", _collect_os_urls())
def test_urls(urls_http, urls_docker, urls_other, session):
broken = []
for url, url_type in urls_http:
ok = _check_url(session, url, url_type)
if not ok:
broken.append(url)
for url, url_type in urls_docker:
http_url = _transform_docker_url(url)
ok = _check_url(session, http_url, url_type, real_url=url)
if not ok:
broken.append(url)
for url, _ in urls_other:
logging.warning("unhandled URL: %s", url)
broken.append(url)
> assert broken == []
E AssertionError: assert ['https://dow...4-37-1.7.iso'] == []
E Left contains 2 more items, first extra item: 'https://download.fedoraproject.org/pub/fedora/linux/releases/37/Server/x86_64/iso/Fedora-Server-netinst-x86_64-37-1.7.iso'
E Use -v to get more diff
tests/test_urls.py:201: AssertionError
Error 2:
> assert broken == []
E AssertionError: assert ['https://dow...4-38-1.6.iso'] == []
E Left contains 2 more items, first extra item: 'https://download.fedoraproject.org/pub/fedora/linux/releases/38/Server/aarch64/iso/Fedora-Server-dvd-aarch64-38-1.6.iso'
E Use -v to get more diff
tests/test_urls.py:201: AssertionError
Error 3:
> assert broken == []
E AssertionError: assert ['https://dow...4-38-1.6.iso'] == []
E Left contains one more item: 'https://download.fedoraproject.org/pub/fedora/linux/releases/38/Silverblue/x86_64/iso/Fedora-Silverblue-ostree-x86_64-38-1.6.iso'
E Use -v to get more diff
tests/test_urls.py:201: AssertionError
Error 4:
> assert broken == []
E AssertionError: assert ['https://fre...tall-dvd.iso'] == []
E Left contains one more item: 'https://freenix.net/fxp-iso/freeslack64-14.2-iso/freeslack64-14.2-install-dvd.iso'
E Use -v to get more diff
tests/test_urls.py:201: AssertionError
Error 5:
> assert broken == []
E AssertionError: assert ['https://dow...pc64le.qcow2'] == []
E Left contains one more item: 'https://download.rockylinux.org/pub/rocky/9/images/ppc64le/Rocky-9-GenericCloud.latest.ppc64le.qcow2'
E Use -v to get more diff
tests/test_urls.py:201: AssertionError
============================================================================================= short test summary info =============================================================================================
FAILED tests/test_urls.py::test_urls[fedora37] - AssertionError: assert ['https://dow...4-37-1.7.iso'] == []
FAILED tests/test_urls.py::test_urls[fedora38] - AssertionError: assert ['https://dow...4-38-1.6.iso'] == []
FAILED tests/test_urls.py::test_urls[silverblue38] - AssertionError: assert ['https://dow...4-38-1.6.iso'] == []
FAILED tests/test_urls.py::test_urls[freenix14.2] - AssertionError: assert ['https://fre...tall-dvd.iso'] == []
FAILED tests/test_urls.py::test_urls[rocky9] - AssertionError: assert ['https://dow...pc64le.qcow2'] == []
=================================================================================== 5 failed, 8035 passed in 1113.18s (0:18:33) ===================================================================================