We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d016126 + dd527a3 commit b834e19Copy full SHA for b834e19
test/unit/test_ollama.py
@@ -1,3 +1,4 @@
1
+import tempfile
2
from unittest.mock import patch
3
4
import pytest
@@ -14,7 +15,8 @@ def ollama_model(args: StoreArgs):
14
15
16
@pytest.fixture
17
def args():
- return StoreArgs(store="/tmp/ramalama/store", engine="podman", container=True)
18
+ with tempfile.TemporaryDirectory() as tmpdir:
19
+ yield StoreArgs(store=tmpdir, engine="podman", container=True)
20
21
22
def test_ollama_model_initialization(ollama_model):
0 commit comments