MCPcopy
hub / github.com/scrapy/scrapy / test_list

Method test_list

tests/test_spiderloader/__init__.py:52–58  ·  view source on GitHub ↗
(self, spider_loader)

Source from the content-addressed store, hash-verified

50 verifyObject(ISpiderLoader, spider_loader)
51
52 def test_list(self, spider_loader):
53 assert set(spider_loader.list()) == {
54 "spider1",
55 "spider2",
56 "spider3",
57 "spider4",
58 }
59
60 def test_load(self, spider_loader):
61 spider1 = spider_loader.load("spider1")

Callers

nothing calls this directly

Calls 1

listMethod · 0.45

Tested by

no test coverage detected