Skip to content

Commit 9d3ddf3

Browse files
committed
test: isolate astream_incremental tests from CI
Fixes #562
1 parent 9cafe05 commit 9d3ddf3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

test/core/test_astream_incremental.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
@pytest.mark.ollama
1616
@pytest.mark.llm
17+
@pytest.mark.qualitative
1718
async def test_astream_returns_incremental_chunks():
1819
"""Test that astream() returns only new content, not accumulated content.
1920
@@ -68,6 +69,7 @@ async def test_astream_returns_incremental_chunks():
6869

6970
@pytest.mark.ollama
7071
@pytest.mark.llm
72+
@pytest.mark.qualitative
7173
async def test_astream_multiple_calls_accumulate_correctly():
7274
"""Test that multiple astream() calls accumulate to the final value.
7375
@@ -120,6 +122,7 @@ async def test_astream_multiple_calls_accumulate_correctly():
120122

121123
@pytest.mark.ollama
122124
@pytest.mark.llm
125+
@pytest.mark.qualitative
123126
async def test_astream_beginning_length_tracking():
124127
"""Test that beginning_length is correctly tracked across astream calls.
125128
@@ -150,6 +153,7 @@ async def test_astream_beginning_length_tracking():
150153

151154
@pytest.mark.ollama
152155
@pytest.mark.llm
156+
@pytest.mark.qualitative
153157
async def test_astream_empty_beginning():
154158
"""Test astream when _underlying_value starts as None."""
155159
session = start_session()
@@ -174,6 +178,7 @@ async def test_astream_empty_beginning():
174178

175179
@pytest.mark.ollama
176180
@pytest.mark.llm
181+
@pytest.mark.qualitative
177182
async def test_astream_computed_returns_full_value():
178183
"""Test that astream returns full value when already computed."""
179184
# Create a pre-computed thunk
@@ -188,6 +193,7 @@ async def test_astream_computed_returns_full_value():
188193

189194
@pytest.mark.ollama
190195
@pytest.mark.llm
196+
@pytest.mark.qualitative
191197
async def test_astream_final_call_returns_full_value():
192198
"""Test that the final astream call returns the full value when computed.
193199

0 commit comments

Comments
 (0)