Conversation
## [1.38.1-beta.1](v1.38.0...v1.38.1-beta.1) (2025-02-13) ### Bug Fixes * filter links ([04b9197](04b9197)) ### Test * Add coverage improvement test for tests/test_scrape_do.py ([4ce6d1b](4ce6d1b))
|
I tried to generate new tests but there might be some issues in your codebase that I couldn't fix. 🔄 Could not generate any new tests. 🐛 Bug DetectionPotential issues found in the following files:
The error is caused by the code that is being tested; specifically, the AbstractGraph’s init method accesses config.get("llm").get("temperature") without first ensuring that config contains a non-None value for the "llm" key. In the test, the config dictionary does not include an "llm" key, so config.get("llm") returns None and attempting to call get("temperature") on None leads to the AttributeError. 🛠️ Test Results0/2 tests passed tests/graphs/scrape_graph_test.py View errorImportError while importing test module '/app/temp_workspace/tests/graphs/scrape_graph_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.11/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/graphs/scrape_graph_test.py:10: in <module>
from scrapegraphai.graphs import ScrapeGraph
E ImportError: cannot import name 'ScrapeGraph' from 'scrapegraphai.graphs' (/app/temp_workspace/scrapegraphai/graphs/__init__.py)
tests/graphs/xml_scraper_openai_test.py View errorImportError while importing test module '/app/temp_workspace/tests/graphs/xml_scraper_openai_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.11/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/graphs/xml_scraper_openai_test.py:11: in <module>
from scrapegraphai.utils import convert_to_csv, convert_to_json, prettify_exec_info
E ImportError: cannot import name 'convert_to_csv' from 'scrapegraphai.utils' (/app/temp_workspace/scrapegraphai/utils/__init__.py)
Settings | Logs | CodeBeaver |
|
🎉 This PR is included in version 1.38.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.39.0-beta.2 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
No description provided.