Skip to content

Commit

Permalink
Add no_cache fixture for test_that_an_evaluation_that_failed_due_to_a…
Browse files Browse the repository at this point in the history
…lready_running_evaluation_task_contains_its_error_details
  • Loading branch information
mc-dorzo committed Dec 26, 2024
1 parent 278fe56 commit 550d72f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/core/stable/services/indexing/test_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
import asyncio

from lagom import Container
from pytest import raises

from parlant.core.agents import Agent
from parlant.core.evaluations import (
EvaluationListener,
Expand All @@ -29,7 +31,8 @@
BehavioralChangeEvaluator,
EvaluationValidationError,
)
from pytest import raises

from tests.conftest import NoCachedGenerations

AMOUNT_OF_TIME_TO_WAIT_FOR_EVALUATION_TO_START_RUNNING = 0.3

Expand Down Expand Up @@ -314,6 +317,7 @@ async def test_that_an_evaluation_of_multiple_payloads_completes_with_an_invoice
async def test_that_an_evaluation_that_failed_due_to_already_running_evaluation_task_contains_its_error_details(
container: Container,
agent: Agent,
no_cache: NoCachedGenerations,
) -> None:
evaluation_service = container[BehavioralChangeEvaluator]
evaluation_store = container[EvaluationStore]
Expand Down

0 comments on commit 550d72f

Please sign in to comment.