🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Python aiai-scrapingautomationcrawlercrawlingcrawling-pythondatadata-extractionmcpmcp-serverplaywrightpythonscrapingselectorsstealthweb-scraperweb-scrapingweb-scraping-pythonwebscrapingxpath
fix: adjust test to the `_restore_from_checkpoint` fix
Karim shoaircc6c0dbfb91c
diff --git a/tests/spiders/test_engine.py b/tests/spiders/test_engine.pyindex ca768bf..b7bfd0f 100644--- a/tests/spiders/test_engine.py+++ b/tests/spiders/test_engine.py@@ -613,8 +613,7 @@ class TestCheckpointMethods:@pytest.mark.asyncioasync 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# ---------------------------------------------------------------------------