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.
This commit is contained in:
Giorgio Gilestro 2026-05-26 00:20:01 +02:00
parent a113a7f3ce
commit 13ea63be5c

View file

@ -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():