Commit c339047
committed
test(tests): add coverage for _wait_for_file_to_exist error paths
ROOT CAUSE:
CI coverage check failed because timeout error paths in
_wait_for_file_to_exist() were not covered (99.96% instead of required 100%).
CHANGES:
- Added test_wait_for_file_to_exist_timeout() to test nonexistent file case
- Added test_wait_for_file_to_exist_empty_file() to test empty file case
IMPACT:
Brings test_stdio.py coverage back to 100%, satisfying CI requirements.
These error paths are now tested with realistic timeout scenarios.
FILES MODIFIED:
- tests/client/test_stdio.py1 parent 5584cc6 commit c339047
1 file changed
+26
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
65 | 91 | | |
66 | 92 | | |
67 | 93 | | |
| |||
0 commit comments