Skip to content

Commit

Permalink
Fix broken tests and remove those that don't longer work
Browse files Browse the repository at this point in the history
  • Loading branch information
whimboo committed Jun 26, 2024
1 parent b13004b commit dcf04e5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
7 changes: 1 addition & 6 deletions tests/remote/test_firefox.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def test_candidate_scraper(tmpdir, args, url):
{'branch': 'mozilla-central', 'platform': 'win32', 'date': '2015-10-21'},
{'branch': 'mozilla-central', 'platform': 'win32', 'date': '2015-10-21', 'build_number': 2},
{'branch': 'mozilla-central', 'platform': 'win32', 'build_id': '20151021065025'},
{'branch': 'mozilla-central', 'platform': 'win32', 'build_id': '20151021030212',
{'branch': 'mozilla-central', 'platform': 'linux', 'build_id': '20240106211805',
'locale': 'de'},
{'branch': 'mozilla-central', 'platform': 'win32', 'build_id': '20151021030212',
'extension': 'txt'},
Expand All @@ -107,11 +107,6 @@ def test_daily_scraper(tmpdir, args):

@pytest.mark.ci_only
@pytest.mark.parametrize("args", [
{'branch': 'mozilla-release', 'platform': 'linux'},
{'branch': 'mozilla-release', 'platform': 'linux64'},
{'branch': 'mozilla-release', 'platform': 'mac'},
{'branch': 'mozilla-release', 'platform': 'win32'},
{'branch': 'mozilla-release', 'platform': 'win64'},
{'branch': 'mozilla-central', 'platform': 'win32', 'debug_build': True},
{'branch': 'mozilla-central', 'platform': 'win32', 'locale': 'de'},
{'branch': 'mozilla-central', 'platform': 'win32', 'extension': 'txt'},
Expand Down
18 changes: 10 additions & 8 deletions tests/remote/test_thunderbird.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,16 @@ def test_candidate_scraper(tmpdir, args, url):
{'application': 'thunderbird', 'platform': 'mac', 'branch': 'comm-central'},
{'application': 'thunderbird', 'platform': 'win32', 'branch': 'comm-central'},
{'application': 'thunderbird', 'platform': 'win64', 'branch': 'comm-central'},
{'application': 'thunderbird', 'platform': 'win64', 'branch': 'comm-central', 'date': '2018-03-01'},
{'application': 'thunderbird', 'platform': 'win64', 'branch': 'comm-central', 'date': '2018-03-01',
'build_number': 1},
{'application': 'thunderbird', 'platform': 'win64', 'branch': 'comm-central', 'build_id': '20180301030201'},
{'application': 'thunderbird', 'platform': 'linux', 'branch': 'comm-central', 'build_id': '20180301030201',
'extension': 'txt'},
{'application': 'thunderbird', 'platform': 'linux', 'branch': 'comm-central', 'build_id': '20180301030201',
'locale': 'de'},
{'application': 'thunderbird', 'platform': 'win64',
'branch': 'comm-central', 'date': '2024-01-02'},
{'application': 'thunderbird', 'platform': 'win64',
'branch': 'comm-central', 'date': '2024-01-02', 'build_number': 1},
{'application': 'thunderbird', 'platform': 'win64',
'branch': 'comm-central', 'build_id': '20240102101857'},
{'application': 'thunderbird', 'platform': 'linux',
'branch': 'comm-central', 'build_id': '20240102101857', 'extension': 'txt'},
{'application': 'thunderbird', 'platform': 'linux64',
'branch': 'comm-central', 'build_id': '20240103103152', 'locale': 'de'},
])
def test_daily_scraper(tmpdir, args):
"""Test daily scraper against the remote server."""
Expand Down

0 comments on commit dcf04e5

Please sign in to comment.