anonymousland-synapse/tests/rest/client
Richard van der Hoff 39230d2171
Clean up some LoggingContext stuff (#7120)
* Pull Sentinel out of LoggingContext

... and drop a few unnecessary references to it

* Factor out LoggingContext.current_context

move `current_context` and `set_context` out to top-level functions.

Mostly this means that I can more easily trace what's actually referring to
LoggingContext, but I think it's generally neater.

* move copy-to-parent into `stop`

this really just makes `start` and `stop` more symetric. It also means that it
behaves correctly if you manually `set_log_context` rather than using the
context manager.

* Replace `LoggingContext.alive` with `finished`

Turn `alive` into `finished` and make it a bit better defined.
2020-03-24 14:45:33 +00:00
..
v1 Remove special casing of m.room.aliases events (#7034) 2020-03-17 07:37:04 -04:00
v2_alpha Revert "Add options to disable setting profile info for prevent changes. (#7053)" 2020-03-17 11:25:01 +00:00
__init__.py copyrights 2016-01-07 04:26:29 +00:00
test_consent.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
test_ephemeral_message.py Add ephemeral messages support (MSC2228) (#6409) 2019-12-03 19:19:45 +00:00
test_identity.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
test_redactions.py Fix comments 2019-09-11 13:54:50 +01:00
test_retention.py Don't restrict the tests to v1 rooms 2019-11-26 17:49:12 +00:00
test_transactions.py Clean up some LoggingContext stuff (#7120) 2020-03-24 14:45:33 +00:00
third_party_rules.py Add plugin APIs for implementations of custom event rules. 2019-06-14 18:16:03 +01:00