Skip to content

Use Claude Code, Codex, VSCode, Pi, and OpenCode (and 6 other harnesses) for free (1.3B+ free tokens) from your terminal, app, IDE, or phone, and now from the browser with native browser sessions (multi-harness + multi-model) like OpenClaw (voice supported + ToS friendly)

Python

Remvoed root insert hack from conftest

Alishahryar12e8b22fa9dd0
diff --git a/pyproject.toml b/pyproject.toml
index d0bf1207..e2d2f5bc 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -81,6 +81,9 @@ indent-style = "space"
line-ending = "auto"
skip-magic-trailing-comma = false
+[tool.pytest.ini_options]
+pythonpath = ["."]
+
[tool.ty.environment]
python-version = "3.14"
diff --git a/tests/conftest.py b/tests/conftest.py
index d64e6b23..2363348d 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -2,7 +2,6 @@ import asyncio
import contextlib
import logging
import os
-import sys
import pytest
@@ -11,9 +10,6 @@ os.environ.setdefault("NVIDIA_NIM_API_KEY", "test_key")
os.environ.setdefault("MODEL", "nvidia_nim/test-model")
os.environ["PTB_TIMEDELTA"] = "1"
-# Add project root to path
-sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
-
from typing import Any
from unittest.mock import AsyncMock, MagicMock