Skip to content

Commit

Permalink
rename test helper, so pytest doesn't think it's a test class
Browse files Browse the repository at this point in the history
  • Loading branch information
scosman committed Mar 1, 2025
1 parent 00e8694 commit 868b946
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/core/kiln_ai/adapters/eval/test_base_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def test_score_schema_no_scores():
BaseEval.build_score_schema(eval)


class TestEval(BaseEval):
class EvalTester(BaseEval):
"""Test implementation of BaseEval"""

async def run_eval(self, task_run):
Expand Down Expand Up @@ -307,7 +307,7 @@ async def test_run_method():
parent=task,
)

evaluator = TestEval(eval_config, run_config.run_config())
evaluator = EvalTester(eval_config, run_config.run_config())

# Run the evaluation
task_run, eval_scores = await evaluator.run("test input")
Expand Down

0 comments on commit 868b946

Please sign in to comment.