Skip to content

Commit

Permalink
tests: fixed blinking test due to changed working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Oct 31, 2024
1 parent 5ee0f2f commit 40d1a5d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_readline.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
import os
import sys
from pathlib import Path

from gptme.readline import _matches

project_root = Path(__file__).parent.parent


def test_matches():
# echo cwd
# make sure we are in the right directory
os.chdir(project_root)
print(os.getcwd())

# dirs
Expand Down

0 comments on commit 40d1a5d

Please sign in to comment.