Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/pip/pytest-8.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
whimboo authored Jun 12, 2024
2 parents 5e13db0 + 322d198 commit 3dc5f49
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions tests/remote/test_devedition.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@

@pytest.mark.ci_only
@pytest.mark.parametrize("args,url", [
({'application': 'devedition', 'platform': 'linux', 'version': '60.0b1'},
'devedition/releases/60.0b1/linux-i686/en-US/firefox-60.0b1.tar.bz2'),
({'application': 'devedition', 'platform': 'linux64', 'version': '60.0b1'},
'devedition/releases/60.0b1/linux-x86_64/en-US/firefox-60.0b1.tar.bz2'),
({'application': 'devedition', 'platform': 'mac', 'version': '60.0b1'},
'devedition/releases/60.0b1/mac/en-US/Firefox 60.0b1.dmg'),
({'application': 'devedition', 'platform': 'win32', 'version': '60.0b1'},
'devedition/releases/60.0b1/win32/en-US/Firefox Setup 60.0b1.exe'),
({'application': 'devedition', 'platform': 'win64', 'version': '60.0b1'},
'devedition/releases/60.0b1/win64/en-US/Firefox Setup 60.0b1.exe'),
({'application': 'devedition', 'platform': 'win32', 'version': '60.0b1', 'locale': 'de'},
'devedition/releases/60.0b1/win32/de/Firefox Setup 60.0b1.exe'),
({'application': 'devedition', 'platform': 'linux', 'version': '128.0b1'},
'devedition/releases/128.0b1/linux-i686/en-US/firefox-128.0b1.tar.bz2'),
({'application': 'devedition', 'platform': 'linux64', 'version': '128.0b1'},
'devedition/releases/128.0b1/linux-x86_64/en-US/firefox-128.0b1.tar.bz2'),
({'application': 'devedition', 'platform': 'mac', 'version': '128.0b1'},
'devedition/releases/128.0b1/mac/en-US/Firefox 128.0b1.dmg'),
({'application': 'devedition', 'platform': 'win32', 'version': '128.0b1'},
'devedition/releases/128.0b1/win32/en-US/Firefox Setup 128.0b1.exe'),
({'application': 'devedition', 'platform': 'win64', 'version': '128.0b1'},
'devedition/releases/128.0b1/win64/en-US/Firefox Setup 128.0b1.exe'),
({'application': 'devedition', 'platform': 'win32', 'version': '128.0b1', 'locale': 'de'},
'devedition/releases/128.0b1/win32/de/Firefox Setup 128.0b1.exe'),
])
def test_release_scraper(tmpdir, args, url):
"""Test release scraper against the remote server."""
Expand All @@ -39,20 +39,20 @@ def test_release_scraper(tmpdir, args, url):

@pytest.mark.ci_only
@pytest.mark.parametrize("args,url", [
({'application': 'devedition', 'platform': 'linux', 'version': '60.0b1', 'build_number': 3},
'devedition/candidates/60.0b1-candidates/build3/linux-i686/en-US/firefox-60.0b1.tar.bz2'),
({'application': 'devedition', 'platform': 'linux64', 'version': '60.0b1', 'build_number': 3},
'devedition/candidates/60.0b1-candidates/build3/linux-x86_64/en-US/firefox-60.0b1.tar.bz2'), # noqa
({'application': 'devedition', 'platform': 'mac', 'version': '60.0b1', 'build_number': 3},
'devedition/candidates/60.0b1-candidates/build3/mac/en-US/Firefox 60.0b1.dmg'),
({'application': 'devedition', 'platform': 'win32', 'version': '60.0b1', 'build_number': 3},
'devedition/candidates/60.0b1-candidates/build3/win32/en-US/Firefox Setup 60.0b1.exe'),
({'application': 'devedition', 'platform': 'mac', 'version': '60.0b1', 'build_number': 3,
({'application': 'devedition', 'platform': 'linux', 'version': '128.0b1', 'build_number': 1},
'devedition/candidates/128.0b1-candidates/build1/linux-i686/en-US/firefox-128.0b1.tar.bz2'),
({'application': 'devedition', 'platform': 'linux64', 'version': '128.0b1', 'build_number': 1},
'devedition/candidates/128.0b1-candidates/build1/linux-x86_64/en-US/firefox-128.0b1.tar.bz2'), # noqa
({'application': 'devedition', 'platform': 'mac', 'version': '128.0b1', 'build_number': 1},
'devedition/candidates/128.0b1-candidates/build1/mac/en-US/Firefox 128.0b1.dmg'),
({'application': 'devedition', 'platform': 'win32', 'version': '128.0b1', 'build_number': 1},
'devedition/candidates/128.0b1-candidates/build1/win32/en-US/Firefox Setup 128.0b1.exe'),
({'application': 'devedition', 'platform': 'mac', 'version': '128.0b1', 'build_number': 1,
'locale': 'de'},
'devedition/candidates/60.0b1-candidates/build3/mac/de/Firefox 60.0b1.dmg'),
({'application': 'devedition', 'platform': 'mac', 'version': '60.0b1', 'build_number': 3,
'devedition/candidates/128.0b1-candidates/build1/mac/de/Firefox 128.0b1.dmg'),
({'application': 'devedition', 'platform': 'mac', 'version': '128.0b1', 'build_number': 1,
'extension': 'json'},
'devedition/candidates/60.0b1-candidates/build3/mac/en-US/firefox-60.0b1.json'),
'devedition/candidates/128.0b1-candidates/build1/mac/en-US/firefox-128.0b1.json'),
])
def test_candidate_scraper(tmpdir, args, url):
"""Test release candidate scraper against the remote server."""
Expand Down

0 comments on commit 3dc5f49

Please sign in to comment.