53b38ea15c
Refactor/split investment and client * refactor: clean up tests * Renamed tests/qcqa to tests/qa_qc for consistency * comment out faulty test - see docstring note at top * split to client/investment * add __init__.py to investment and client to avoid mypy confusion * fix imports * update imports for consistency across investment module * move back to one config * try changing import to relative * add init.py to src * try relative import * try one more sys.path.append * fix path for client main * fix imports in file_processing * make prompts common * move keywords out to `src` * move smart_chunking_funcs to `src` * fix mypy error * start moving to explicit imports * remove old keywords and fix imports for keywords and prompts * change all imports to full paths * fix unit tests * add readme for new way of running things * isort after all that import work * remove unused sys.path.append from some tests Approved-by: Katon Minhas
9 lines
199 B
Python
9 lines
199 B
Python
import pandas as pd
|
|
import pytest
|
|
|
|
from src.tracking.costlog_utils import aggregate_costlog
|
|
|
|
|
|
def test_missing_columns():
|
|
with pytest.raises(ValueError):
|
|
aggregate_costlog(pd.DataFrame()) |