Scrapegraph-ai/tests/nodes
Tejas Amol Hande dedfa2eaf0
feat: Add tests for RobotsNode and update test setup
- Added pytest fixture to set up the RobotsNode with the initial state.
- Implemented test_robots_node to test the execution of RobotsNode.
- Used unittest.mock.patch to mock the execute method, ensuring faster and more reliable tests without actual network calls.
- Added assertions to verify the correctness of the result and ensure the execute method is called once with the correct arguments.
2024-06-09 19:39:11 +05:30
..
inputs add robot node 2024-05-15 12:00:32 +02:00
fetch_node_test.py Enhance tests for FetchNode with mocking 2024-06-07 23:11:32 +05:30
robot_node_test.py feat: Add tests for RobotsNode and update test setup 2024-06-09 19:39:11 +05:30
search_link_node_test.py add robot node 2024-05-15 12:00:32 +02:00