Commit a084cfe
committed
Fix worker tests: mock _parse_ess_error for mockter adapter
MockAdapter writes YAML output (not real ESS logs), so
determine_ess_status falsely reports convergence failure.
Patching _parse_ess_error to return None in TestRunTask and
TestWorkerLoop skips the ESS check for these mockter-based tests.1 parent 555dca0 commit a084cfe
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
99 | 105 | | |
100 | 106 | | |
101 | 107 | | |
| |||
308 | 314 | | |
309 | 315 | | |
310 | 316 | | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
311 | 320 | | |
312 | 321 | | |
313 | 322 | | |
| |||
0 commit comments