MCPcopy
hub / github.com/scrapy/scrapy / test_load

Method test_load

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

Source from the content-addressed store, hash-verified

58 }
59
60 def test_load(self, spider_loader):
61 spider1 = spider_loader.load("spider1")
62 assert spider1.__name__ == "Spider1"
63
64 def test_find_by_request(self, spider_loader):
65 assert spider_loader.find_by_request(Request("http://scrapy1.org/test")) == [

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected