Skip to content

Commit 0c914e4

Browse files
committed
fix nitpick comment from coderabbitai
1 parent 5a22d46 commit 0c914e4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_workspace_assignment_fallback.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
import tempfile
1515
import unittest
1616

17+
REPO_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
18+
if REPO_ROOT not in sys.path:
19+
sys.path.insert(0, REPO_ROOT)
20+
1721
from hypothesis import given, settings
1822
from hypothesis import strategies as st
1923

2024
from services.workspace_resolver import determine_project_for_conversation
2125
from utils.path_helpers import normalize_file_path
2226

23-
REPO_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
24-
if REPO_ROOT not in sys.path:
25-
sys.path.insert(0, REPO_ROOT)
26-
2727

2828
def _write_workspace_json(parent: str, name: str, folder: str) -> dict:
2929
ws_dir = os.path.join(parent, name)

0 commit comments

Comments
 (0)