fix: adjust test to the _restore_from_checkpoint fix
This commit is contained in:
@@ -613,8 +613,7 @@ class TestCheckpointMethods:
|
|||||||
@pytest.mark.asyncio
|
@pytest.mark.asyncio
|
||||||
async def test_restore_from_checkpoint_raises_when_disabled(self):
|
async def test_restore_from_checkpoint_raises_when_disabled(self):
|
||||||
engine = _make_engine() # no crawldir → checkpoint disabled
|
engine = _make_engine() # no crawldir → checkpoint disabled
|
||||||
with pytest.raises(RuntimeError):
|
assert (await engine._restore_from_checkpoint()) is False
|
||||||
await engine._restore_from_checkpoint()
|
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user