Skip to content

Commit c6f99f7

Browse files
authored
test: ensure pytest can import src package
1 parent ff13ccf commit c6f99f7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/conftest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@
22

33
from __future__ import annotations
44

5+
import sys
6+
from pathlib import Path
7+
58
import pytest
69

10+
sys.path.insert(0, str(Path(__file__).resolve().parents[1]))
11+
712
from src.client import CompletionResult
813
from src.config import EvalConfig, EndpointConfig, PricingConfig
914

0 commit comments

Comments
 (0)