Patch defer.inlineCallbacks to check logcontexts in tests (#4205)

This commit is contained in:
Richard van der Hoff 2018-12-04 11:30:32 +01:00 committed by GitHub
parent a077e710a3
commit 48972ce9d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 99 additions and 3 deletions

View file

@ -34,7 +34,9 @@ from synapse.types import UserID, create_requester
from synapse.util.logcontext import LoggingContext, LoggingContextFilter
from tests.server import get_clock, make_request, render, setup_test_homeserver
from tests.utils import default_config
from tests.utils import default_config, setupdb
setupdb()
# Set up putting Synapse's logs into Trial's.
rootLogger = logging.getLogger()