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:
Tejas Amol Hande 2024-06-10 13:33:05 +05:30 committed by GitHub
parent 9e7038c596
commit c927145bd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,5 @@
""" """
Module for the tests Module for the tests.
""" """
import os import os
import pytest import pytest