MCPcopy
hub / github.com/scrapy/scrapy / get_log

Method get_log

tests/test_command_crawl.py:22–24  ·  view source on GitHub ↗
(self, code: str, proj_path: Path, args: Iterable[str] = ())

Source from the content-addressed store, hash-verified

20 return proc("crawl", "myspider", *args, cwd=proj_path)
21
22 def get_log(self, code: str, proj_path: Path, args: Iterable[str] = ()) -> str:
23 _, _, stderr = self.crawl(code, proj_path, args=args)
24 return stderr
25
26 def test_no_output(self, proj_path: Path) -> None:
27 spider_code = """

Callers 6

test_no_outputMethod · 0.95
test_outputMethod · 0.95
test_overwrite_outputMethod · 0.95
test_default_reactorMethod · 0.95
test_no_reactorMethod · 0.95

Calls 1

crawlMethod · 0.95

Tested by

no test coverage detected