scrapy/tests/mockserver
Albert Eduardovich N. 9776a72a6a
chore: simplify some code, get rid of nested fns where it's makes sence + pylint (#7401)
* chore: simplify some code, get rid of nested fns where it's makes sence

reasoning: https://wemake-python-styleguide.readthedocs.io/en/latest/pages/usage/violations/best_practices.html#wemake_python_styleguide.violations.best_practices.NestedFunctionViolation

* chore: address some pylint rules

* remove `pylint: disable=deprecated-class` from `reactor.py`

* fix typo

* fix another typo :)

* revert backward incompatible arg renames

---------

Co-authored-by: Andrey Rakhmatullin <wrar@wrar.name>
2026-05-04 23:32:46 +05:00
..
__init__.py Extract in-process test HTTP servers into separate processes (#6960) 2025-07-25 12:42:27 +05:00
dns.py Small download handler fixes and improvements (#7441) 2026-04-21 18:27:16 +05:00
ftp.py Use a random port in MockFTPServer. (#7402) 2026-04-06 14:55:33 +02:00
http.py chore: simplify some code, get rid of nested fns where it's makes sence + pylint (#7401) 2026-05-04 23:32:46 +05:00
http_base.py Small download handler fixes and improvements (#7441) 2026-04-21 18:27:16 +05:00
http_resources.py Small download handler fixes and improvements (#7441) 2026-04-21 18:27:16 +05:00
proxy_echo.py Extract in-process test HTTP servers into separate processes (#6960) 2025-07-25 12:42:27 +05:00
simple_https.py chore: simplify some code, get rid of nested fns where it's makes sence + pylint (#7401) 2026-05-04 23:32:46 +05:00
utils.py TLS code modernization (#7353) 2026-03-25 15:42:43 +05:00