Commit 7712ff8
Cipher
fix: update test_load_image to skip explicit readers in min-dep environment
When LoadImage is initialized with an explicitly-specified reader that is not
installed, it now raises RuntimeError (instead of silently falling back). This is
the correct behavior per issue #7437, but breaks existing tests that assume the
old fallback behavior.
Update test_load_image() to only test with reader=None (auto-select path) which
works in all environments. Specific readers with @SkipIfNoModule decorators are
tested in their own dedicated test methods.
Signed-off-by: Cipher <cipher@openclaw.ai>1 parent 90a4be9 commit 7712ff8
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments