fix(ci): fix ruff lint

This commit is contained in:
Barrett Ruth 2025-09-22 22:10:49 -04:00
parent db391da52c
commit 3b768cc6c4
3 changed files with 19 additions and 9 deletions

View file

@ -135,17 +135,17 @@ class TestScraperInterfaceCompliance:
# Test metadata error format
result = scraper.scrape_contest_metadata("test")
assert result.success == False
assert not result.success
assert result.error.startswith(f"{platform_name}: ")
# Test problem tests error format
result = scraper.scrape_problem_tests("test", "A")
assert result.success == False
assert not result.success
assert result.error.startswith(f"{platform_name}: ")
# Test contest list error format
result = scraper.scrape_contest_list()
assert result.success == False
assert not result.success
assert result.error.startswith(f"{platform_name}: ")
@pytest.mark.parametrize("scraper_class", ALL_SCRAPER_CLASSES)