Skip to content

Commit

Permalink
🧪 fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
shroominic committed Nov 15, 2023
1 parent 2e3b7f4 commit bc608b0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/extraction_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from funcchain import BaseModel, achain, chain
from funcchain import achain, chain, settings, BaseModel

settings.MODEL_TEMPERATURE = 0


class Task(BaseModel):
Expand Down Expand Up @@ -47,9 +49,9 @@ def test_extraction() -> None:
)

task_description = description(task)
task2 = _await(extract_task(task_description))
_task = _await(extract_task(task_description))

assert compare_tasks(task, task2)
assert compare_tasks(task, _task)


if __name__ == "__main__":
Expand Down

0 comments on commit bc608b0

Please sign in to comment.