chore: align three tests with the shared helpers

This commit is contained in:
Abdessamad Derraz committed 2026-11-21 06:45:11 +01:00
1 parent 6c0679095e
commit 6aee415098
4 files changed
+13 -7

No files matched your search

+4 -4
View File
@@ -272,10 +272,10 @@ class OneImplementationPerJob(unittest.TestCase):
for needle in needles
if needle in path.read_text(encoding="utf-8")
]
# buildbot_system asks for ETags with HEAD requests, which no shared
# helper sends. MinUI reads through a fetch its tests replace, and
# hands the answer to tree_entries.
self.assertEqual(found, ["buildbot_system.py: urlopen(", "minui_scraper.py: ?recursive=1"])
# The ETag HEAD probe is core.upstream.remote_etag. MinUI reads
# through a fetch its tests replace, and hands the answer to
# tree_entries.
self.assertEqual(found, ["minui_scraper.py: ?recursive=1"])
def test_the_target_package_reads_through_the_platform_helpers(self):
from scraper import targets