From 13ea63be5cce0ece7a4d1a61fad2f0c6cbe3ba8d Mon Sep 17 00:00:00 2001 From: Giorgio Gilestro Date: Tue, 26 May 2026 00:20:01 +0200 Subject: [PATCH] test: drop stale "pie" assertion from test_default_groups_present The "pie" indicator group was removed in v0.2 when portfolio composition moved to live Trading 212 sourcing (see the v0.2 note in config/portfolio.toml). The test wasn't updated at the time. Suite now runs cleanly: 199 passed, 5 skipped, 0 failed. --- tests/test_config_loading.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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():