mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-14 05:40:41 -05:00
Patch defer.inlineCallbacks to check logcontexts in tests (#4205)
This commit is contained in:
parent
a077e710a3
commit
48972ce9d1
4 changed files with 99 additions and 3 deletions
|
|
@ -1,5 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2014-2016 OpenMarket Ltd
|
||||
# Copyright 2018 New Vector Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
@ -15,7 +16,9 @@
|
|||
|
||||
from twisted.trial import util
|
||||
|
||||
from tests import utils
|
||||
import tests.patch_inline_callbacks
|
||||
|
||||
# attempt to do the patch before we load any synapse code
|
||||
tests.patch_inline_callbacks.do_patch()
|
||||
|
||||
util.DEFAULT_TIMEOUT_DURATION = 10
|
||||
utils.setupdb()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue