fix: adjust test to the _restore_from_checkpoint fix

This commit is contained in:
Karim shoair
2026-03-17 17:46:47 +02:00
parent 1fb7961d42
commit cc6c0dbfb9
+1 -2
View File
@@ -613,8 +613,7 @@ class TestCheckpointMethods:
@pytest.mark.asyncio
async def test_restore_from_checkpoint_raises_when_disabled(self):
engine = _make_engine() # no crawldir → checkpoint disabled
with pytest.raises(RuntimeError):
await engine._restore_from_checkpoint()
assert (await engine._restore_from_checkpoint()) is False
# ---------------------------------------------------------------------------