()
| 33 | results = {} |
| 34 | |
| 35 | def thread_task(): |
| 36 | # Get context in child thread |
| 37 | child_context = get_current_context() |
| 38 | results["trace_id"] = child_context.trace_id if child_context else None |
| 39 | results["test_data"] = child_context.test_data if child_context else None |
| 40 | |
| 41 | # Create and run child thread |
| 42 | thread = ContextThread(target=thread_task) |
nothing calls this directly
no test coverage detected