Skip to content

Commit cb2d418

Browse files
committed
Disable the telnet console during tests
1 parent 698ecf1 commit cb2d418

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@
4444
"scrapy_zyte_api.ScrapyZyteAPISpiderMiddleware": 100,
4545
"scrapy_zyte_api.ScrapyZyteAPIRefererSpiderMiddleware": 1000,
4646
},
47-
"ZYTE_API_KEY": _API_KEY,
47+
"TELNETCONSOLE_ENABLED": False,
4848
"TWISTED_REACTOR": "twisted.internet.asyncioreactor.AsyncioSelectorReactor",
49+
"ZYTE_API_KEY": _API_KEY,
4950
}
5051
if Version(SCRAPY_VERSION) < Version("2.12"):
5152
SETTINGS["REQUEST_FINGERPRINTER_IMPLEMENTATION"] = (
@@ -70,6 +71,7 @@
7071
"ADDONS": {
7172
Addon: 500,
7273
},
74+
"TELNETCONSOLE_ENABLED": False,
7375
"ZYTE_API_KEY": _API_KEY,
7476
}
7577
UNSET = object()

0 commit comments

Comments
 (0)