mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-12 12:06:04 +00:00
test: update test_replay_missing_recording to match new error message
This commit is contained in:
parent
3cdf1c69fc
commit
8954ab5e2e
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ class TestInferenceRecording:
|
|||
with api_recording(mode=APIRecordingMode.REPLAY, storage_dir=str(temp_storage_dir)):
|
||||
client = AsyncOpenAI(base_url="http://localhost:11434/v1", api_key="test")
|
||||
|
||||
with pytest.raises(RuntimeError, match="No recorded response found"):
|
||||
with pytest.raises(RuntimeError, match="Recording not found"):
|
||||
await client.chat.completions.create(
|
||||
model="llama3.2:3b", messages=[{"role": "user", "content": "This was never recorded"}]
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue