diff --git a/tests/test_config_loading.py b/tests/test_config_loading.py index ce2d57d..e1e4474 100644 --- a/tests/test_config_loading.py +++ b/tests/test_config_loading.py @@ -17,7 +17,9 @@ PORTFOLIO = ROOT / "config" / "portfolio.toml" def test_default_groups_present(): g = load_groups(DEFAULT, PORTFOLIO) - for expected in ("equity", "mag7", "rates", "macro", "commodities", "fx", "pie"): + # "pie" was removed in v0.2 when the portfolio composition moved to + # live Trading 212 sourcing (see config/portfolio.toml header). + for expected in ("equity", "mag7", "rates", "macro", "commodities", "fx"): assert expected in g, f"missing group: {expected}" # Every item is a 3-tuple of strings. for items in g.values():