DSPy: The framework for programming—not prompting—language models
Python
feat(tests): cleanup.
Amir Mehrc9e687e9d7b6
diff --git a/tests_integration/test_intro.py b/tests_integration/test_intro.pyindex 71b19c138..ad23d2dbb 100644--- a/tests_integration/test_intro.py+++ b/tests_integration/test_intro.py@@ -1,27 +1,9 @@-import os-from pathlib import Pathfrom typing import Any-import pytest-import dspy-class BaseIntegrationTestWithCache:- @pytest.fixture(autouse=True)- def setup(self) -> None:- return- # Base directory for all DSPy modules- library_dir = Path(__file__).resolve().parent- base_dir = library_dir.parent- cache_dir = str(base_dir / "cache")- os.environ["DSP_NOTEBOOK_CACHEDIR"] = cache_dir-- if cache_dir and not Path(cache_dir).exists():- Path(cache_dir).mkdir(parents=True)---class TestIntroIntegration(BaseIntegrationTestWithCache):+class TestIntroIntegration:def test_dspy_workflow(self) -> None:self.setup_dspy()