Skip to content

Commit 9d6b92f

Browse files
committed
fix some tests
Signed-off-by: Louis Mandel <[email protected]>
1 parent c2bd31b commit 9d6b92f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

examples/demos/granite_io_hallucinations.pdl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ defs:
4040

4141
text:
4242
- Did Faith Hill take a break from recording after releasing her second album, It Matters to Me?
43-
- model: "granite3.2:2b"
44-
backend: openai
43+
- processor:
44+
model: "granite3.2:2b"
45+
backend: openai
4546
parameters:
4647
documents:
4748
- ${ doc }

tests/test_line_table.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def test_line24(capsys: CaptureFixture[str]):
331331
"file": "tests/data/line/hello26.pdl",
332332
"errors": [
333333
"",
334-
"tests/data/line/hello26.pdl:13 - Values inside the For block must be lists.",
334+
"tests/data/line/hello26.pdl:13 - Values inside the For block must be lists but got <class 'str'>.",
335335
],
336336
}
337337

@@ -383,7 +383,7 @@ def test_line29(capsys: CaptureFixture[str]):
383383
"file": "tests/data/line/hello30.pdl",
384384
"errors": [
385385
"",
386-
"tests/data/line/hello30.pdl:7 - Values inside the For block must be lists.",
386+
"tests/data/line/hello30.pdl:7 - Values inside the For block must be lists but got <class 'dict'>.",
387387
],
388388
}
389389

0 commit comments

Comments
 (0)