mirror of
https://github.com/element-hq/synapse.git
synced 2026-05-30 00:24:06 +00:00
17e2220793
Summary of what was fixed: - tests/unittest.py — Twisted imports wrapped in try/except with asyncio fallbacks - tests/server.py — ThreadedMemoryReactorClock replaced with pure-asyncio FakeReactor, Twisted interface stubs for @implementer decorators - tests/test_utils/__init__.py — IResponse, Failure, Headers, RESPONSES fallbacks - tests/test_utils/logging_setup.py — ToTwistedHandler replaced with stdlib logging.StreamHandler - synapse/crypto/context_factory.py — CertificateOptions stub uses pyOpenSSL directly, IPolicyForHTTPS stub as zope Interface - tests/server.py — shutdown_hs_on_cleanup converted from Deferred to async, seconds() added to FakeReactor Also, move from txredisapi to asyncio redis Also, move from twisted to aiohttp for the rust apps
2.0 KiB
2.0 KiB