diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1eea9f3..67af11c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,10 +21,10 @@ jobs: - name: Install ruff run: pip install ruff - - name: Check all files with ruff + - name: Format check with ruff run: | ruff check jigsawstack/ --config .github/ruff.toml - ruff format --check jigsawstack/ --config .github/ruff.toml + ruff format jigsawstack/ --config .github/ruff.toml --check test: name: Test - ${{ matrix.test-file }} @@ -46,7 +46,6 @@ jobs: - test_translate.py - test_validate.py - test_web.py - - test_deep_research.py - test_ai_scrape.py - test_vocr.py steps: diff --git a/tests/test_deep_research.py b/tests/test_deep_research.py index ec67775..d9a2e43 100644 --- a/tests/test_deep_research.py +++ b/tests/test_deep_research.py @@ -30,27 +30,11 @@ URL = "https://jigsawstack.com" -# Deep Research Test Cases DEEP_RESEARCH_TEST_CASES = [ { "name": "basic_deep_research", - "params": { - "query": "climate change effects", - }, - }, - { - "name": "technical_deep_research", - "params": { - "query": "quantum computing applications in cryptography", - }, - }, - { - "name": "deep_research_with_depth", - "params": { - "query": "renewable energy sources", - "depth": 2, - }, - }, + "params": {"query": "climate change effects", "max_depth": 1}, + } ] @@ -72,7 +56,6 @@ def test_deep_research(self, test_case): assert isinstance(result["results"], str) assert len(result["results"]) > 0 - # Check for sources if "sources" in result: assert isinstance(result["sources"], list) @@ -99,7 +82,6 @@ async def test_deep_research_async(self, test_case): assert isinstance(result["results"], str) assert len(result["results"]) > 0 - # Check for sources if "sources" in result: assert isinstance(result["sources"], list)