From c927145bd06693d0fad02b2285b426276b7d61a8 Mon Sep 17 00:00:00 2001 From: Tejas Amol Hande <59686002+tejhande@users.noreply.github.com> Date: Mon, 10 Jun 2024 13:33:05 +0530 Subject: [PATCH] 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 --- tests/graphs/scrape_plain_text_llama3_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/graphs/scrape_plain_text_llama3_test.py b/tests/graphs/scrape_plain_text_llama3_test.py index 701d05eb..93045163 100644 --- a/tests/graphs/scrape_plain_text_llama3_test.py +++ b/tests/graphs/scrape_plain_text_llama3_test.py @@ -1,5 +1,5 @@ """ -Module for the tests +Module for the tests. """ import os import pytest