Commit b880718
committed
Fix test to expect ConnectionError instead of RuntimeError
The test was failing because it expected RuntimeError to be raised, but
the sockets.py code already catches ConnectionError and returns gracefully
(like it does for WebSocketDisconnect). This fix aligns the test with the
actual behavior of the code.
Co-authored-by: openhands <openhands@all-hands.dev>1 parent b37aff3 commit b880718
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
| |||
0 commit comments