element-synapse/tests/logging
Erik Johnston 1bddd25a85
Port Clock functions to use Duration class (#19229)
This changes the arguments in clock functions to be `Duration` and
converts call sites and constants into `Duration`. There are still some
more functions around that should be converted (e.g.
`timeout_deferred`), but we leave that to another PR.

We also changes `.as_secs()` to return a float, as the rounding broke
things subtly. The only reason to keep it (its the same as
`timedelta.total_seconds()`) is for symmetry with `as_millis()`.

Follows on from https://github.com/element-hq/synapse/pull/19223
2025-12-01 13:55:06 +00:00
..
__init__.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_loggers.py Add debug log when HMAC incorrect (#18474) 2025-07-22 11:09:45 -05:00
test_opentracing.py Port Clock functions to use Duration class (#19229) 2025-12-01 13:55:06 +00:00
test_remote_handler.py Use type hinting generics in standard collections (#19046) 2025-10-22 16:48:19 -05:00
test_terse_json.py Fix server_name in logging context for multiple Synapse instances in one process (#18868) 2025-09-26 17:10:48 -05:00