Commit 51c2291
committed
fix: Update pytest-asyncio configuration for worker tests
- Changed asyncio_mode from "strict" to "auto" in pyproject.toml to fix worker fixture issues
- Updated testing documentation to explain asyncio configuration
- Fixed worker tests that were failing due to async generator handling
The auto mode allows for more flexible handling of async/sync code interactions, particularly in worker-related tests where we need to manage both synchronous and asynchronous operations.1 parent 99d19fc commit 51c2291
2 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments