Skip to content

Commit

Permalink
Fix unneeded check in download tests
Browse files Browse the repository at this point in the history
  • Loading branch information
robhudson committed Sep 4, 2024
1 parent 72f17ec commit b34026c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/functional/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ def pytest_generate_tests(metafunc):
for url in lang_urls:
doc = get_web_page(f"{base_url}{url}")
download_urls = [a.attrib["href"] for a in doc("a.download-link")]
# Only check links to download.mozilla.org
download_urls = [link for link in download_urls if link.startswith("https://download.mozilla.org/")]
for url in download_urls:
urls.append(url)
assert urls
Expand Down

0 comments on commit b34026c

Please sign in to comment.