refactor: move trainer/models/utils/config to tools/
This commit is contained in:
@@ -266,7 +266,7 @@ class TestFilterSegments:
|
||||
|
||||
class TestProcessSession:
|
||||
def test_writes_jsonl_in_expected_format(self, tmp_path):
|
||||
from ai_mouse.config import BalabitAdapterConfig
|
||||
from tools.config import BalabitAdapterConfig
|
||||
from ai_mouse.data_adapters.balabit import process_session
|
||||
|
||||
# Construct a Balabit-format CSV with one valid segment
|
||||
@@ -303,7 +303,7 @@ class TestProcessSession:
|
||||
assert record["events"][0]["t"] == 0
|
||||
|
||||
def test_returns_zero_for_session_with_no_valid_segments(self, tmp_path):
|
||||
from ai_mouse.config import BalabitAdapterConfig
|
||||
from tools.config import BalabitAdapterConfig
|
||||
from ai_mouse.data_adapters.balabit import process_session
|
||||
|
||||
csv_path = tmp_path / "empty_session"
|
||||
@@ -318,7 +318,7 @@ class TestProcessSession:
|
||||
assert out.read_text() == ""
|
||||
|
||||
def test_appends_to_existing_jsonl(self, tmp_path):
|
||||
from ai_mouse.config import BalabitAdapterConfig
|
||||
from tools.config import BalabitAdapterConfig
|
||||
from ai_mouse.data_adapters.balabit import process_session
|
||||
|
||||
out = tmp_path / "out.jsonl"
|
||||
|
||||
Reference in New Issue
Block a user