mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 06:15:00 +00:00
feat: Add option to return web scrape content instead of printing
This commit is contained in:
parent
77cb64958e
commit
52c49fc8fd
3 changed files with 5 additions and 3 deletions
|
@ -44,7 +44,7 @@ class TestScrape(unittest.TestCase):
|
|||
self.commands.io.tool_error = mock_print_error
|
||||
|
||||
# Run the cmd_web command
|
||||
result = self.commands.cmd_web("https://example.com")
|
||||
result = self.commands.cmd_web("https://example.com", return_content=True)
|
||||
|
||||
# Assert that the result contains some content
|
||||
self.assertIsNotNone(result)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue