mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-19 00:17:49 -04:00
Merge branch 'master' into develop
This commit is contained in:
commit
6982db9651
11 changed files with 62 additions and 40 deletions
|
@ -230,8 +230,7 @@ class DescriptorTestCase(unittest.TestCase):
|
|||
|
||||
@defer.inlineCallbacks
|
||||
def do_lookup():
|
||||
with LoggingContext() as c1:
|
||||
c1.name = "c1"
|
||||
with LoggingContext("c1") as c1:
|
||||
r = yield obj.fn(1)
|
||||
self.assertEqual(current_context(), c1)
|
||||
return r
|
||||
|
@ -273,8 +272,7 @@ class DescriptorTestCase(unittest.TestCase):
|
|||
|
||||
@defer.inlineCallbacks
|
||||
def do_lookup():
|
||||
with LoggingContext() as c1:
|
||||
c1.name = "c1"
|
||||
with LoggingContext("c1") as c1:
|
||||
try:
|
||||
d = obj.fn(1)
|
||||
self.assertEqual(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue