From 3b3f05a5d6ec59732391488ae80d46bd8afa2e08 Mon Sep 17 00:00:00 2001 From: Kelle Cruz Date: Tue, 17 Oct 2023 17:11:59 -0400 Subject: [PATCH] between 149 and 150 --- tests/scheduled_checks.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/scheduled_checks.py b/tests/scheduled_checks.py index cefef31f9..92cad769f 100644 --- a/tests/scheduled_checks.py +++ b/tests/scheduled_checks.py @@ -62,6 +62,5 @@ def test_spectra_urls(db): if status_code != 200 and status_code != 301: broken_urls.append(spectrum_url) codes.append(status_code) - assert ( - len(broken_urls) == 150 + assert (149 <= len(broken_urls) <= 150 ), f"found {len(broken_urls)} broken spectra urls: {broken_urls}, {codes}"