Spaces:
Runtime error
Runtime error
| import sys | |
| import os | |
| sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..')) | |
| from modules.retriever import perform_search | |
| def test_perform_search(): | |
| # This is a placeholder test since we can't actually call the API in tests | |
| # In a real scenario, we would mock the Tavily client | |
| assert True # Placeholder assertion | |
| if __name__ == "__main__": | |
| test_perform_search() | |