MCPcopy
hub / github.com/tornadoweb/tornado / test_propagate

Method test_propagate

tornado/test/gen_test.py:1093–1101  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1091
1092 @gen_test
1093 def test_propagate(self):
1094 # Verify that context vars get propagated across various
1095 # combinations of native and decorated coroutines.
1096 yield [
1097 self.native_root(1),
1098 self.native_root(2),
1099 self.gen_root(3),
1100 self.gen_root(4),
1101 ]
1102
1103 @gen_test
1104 def test_reset(self):

Callers

nothing calls this directly

Calls 2

native_rootMethod · 0.95
gen_rootMethod · 0.95

Tested by

no test coverage detected