Skip to content

Commit 51b9611

Browse files
committed
fix: flag more tests that require ollama
Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
1 parent 9cafe05 commit 51b9611

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

test/backends/test_tool_calls.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
from mellea.stdlib.context import ChatContext
1414
from mellea.stdlib.session import MelleaSession
1515

16+
pytestmark = [pytest.mark.ollama, pytest.mark.llm]
17+
1618

1719
@pytest.fixture(scope="module")
1820
def m() -> MelleaSession:

test/core/test_model_output_thunk.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
from mellea.core import ModelOutputThunk
77
from mellea.stdlib.session import MelleaSession, start_session
88

9+
pytestmark = [pytest.mark.ollama, pytest.mark.llm]
10+
911

1012
# Use generated ModelOutputThunks to fully test copying. This can technically be done without a
1113
# backend, but it simplifies test setup.

test/stdlib/requirements/test_requirement.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
ctx = ChatContext()
99
ctx = ctx.add(ModelOutputThunk("test"))
1010

11+
pytestmark = [pytest.mark.ollama, pytest.mark.llm]
12+
1113

1214
async def test_llmaj_validation_req_output_field():
1315
m = start_session(ctx=ctx)

test/stdlib/test_functional.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
from mellea.stdlib.requirements import req
88
from mellea.stdlib.session import start_session
99

10+
pytestmark = [pytest.mark.ollama, pytest.mark.llm]
11+
1012

1113
@pytest.fixture(scope="module")
1214
def m_session(gh_run):

0 commit comments

Comments
 (0)