Add coverage for DummySpiderLoader.find_by_request() (#7608)

This commit is contained in:
Adrian 2026-06-12 13:13:17 +02:00 committed by GitHub
parent 7afc875081
commit b08ed1cf05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -252,3 +252,4 @@ def test_dummy_spider_loader(spider_loader_env):
assert not spider_loader.list()
with pytest.raises(KeyError):
spider_loader.load("spider1")
assert not spider_loader.find_by_request(Request("http://example.com"))