Skip to content

Commit

Permalink
del unused fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
lievan committed Sep 26, 2024
1 parent d04e679 commit aa4115f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/llmobs/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,18 +157,6 @@ def mock_llmobs_evaluator_runner():
patcher.stop()


@pytest.fixture
def LLMObsWithRagas(monkeypatch, mock_llmobs_span_writer, mock_llmobs_eval_metric_writer, ddtrace_global_config):
global_config = default_global_config()
global_config.update(ddtrace_global_config)
with override_env(dict(_DD_LLMOBS_EVALUATORS="ragas_faithfulness", _DD_LLMOBS_EVALUATOR_INTERVAL=0.01)):
with override_global_config(global_config):
dummy_tracer = DummyTracer()
llmobs_service.enable(_tracer=dummy_tracer)
yield llmobs_service
llmobs_service.disable()


@pytest.fixture
def mock_ragas_dependencies_not_present():
previous = ddtrace.llmobs._evaluators.ragas.faithfulness.RAGAS_DEPENDENCIES_PRESENT
Expand Down

0 comments on commit aa4115f

Please sign in to comment.