1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-06 16:51:46 +00:00

Skip more non-test files during discovery.

This commit is contained in:
Andrey Rakhmatullin 2023-07-22 17:54:55 +04:00
parent e058a05763
commit a346732275

View File

@ -18,6 +18,10 @@ def _py_files(folder):
collect_ignore = [
# not a test, but looks like a test
"scrapy/utils/testsite.py",
"tests/ftpserver.py",
"tests/mockserver.py",
"tests/pipelines.py",
"tests/spiders.py",
# contains scripts to be run by tests/test_crawler.py::CrawlerProcessSubprocess
*_py_files("tests/CrawlerProcess"),
# contains scripts to be run by tests/test_crawler.py::CrawlerRunnerSubprocess