mirror of
https://github.com/VinciGit00/Scrapegraph-ai.git
synced 2026-07-15 21:00:44 +08:00
feat: Add tests for SmartScraperGraph using sample text and configuration fixtures (@tejhande)
- Added pytest fixture to provide sample text from a file. - Added pytest fixture to provide graph configuration. - Implemented test_scraping_pipeline to test the execution of SmartScraperGraph. - Added assertions to verify the result is not None and to check the expected structure of the result. Contributed by @tejhande
This commit is contained in:
parent
9e7038c596
commit
c927145bd0
@ -1,5 +1,5 @@
|
|||||||
"""
|
"""
|
||||||
Module for the tests
|
Module for the tests.
|
||||||
"""
|
"""
|
||||||
import os
|
import os
|
||||||
import pytest
|
import pytest
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user