Skip to content

Commit 760fe18

Browse files
committed
move tests into test_core
1 parent dca7006 commit 760fe18

7 files changed

Lines changed: 4 additions & 186 deletions

File tree

.github/workflows/test_end_to_end.yml

Lines changed: 0 additions & 186 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/test_end_to_end/test_evaluate.py renamed to tests/test_core/test_end_to_end/test_evaluate.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import json
22
import os
3+
from pathlib import Path
34
import subprocess
5+
46
import pytest
57

68
from deepeval import evaluate
@@ -25,6 +27,7 @@
2527
save_dataset_as_json_and_load,
2628
)
2729

30+
PROJECT_ROOT = Path(__file__).resolve().parents[3]
2831

2932
def test_single_turn_evaluate_returns_result_and_dataset_json_schema(
3033
tmp_path,
@@ -430,6 +433,7 @@ def test_cli_smoke():
430433
proc = subprocess.run(
431434
["poetry", "run", "deepeval", "test", "run", str(test_file)],
432435
capture_output=True,
436+
cwd=PROJECT_ROOT,
433437
text=True,
434438
timeout=120, # 2 minute timeout for network calls
435439
)
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)