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:
parent
a113a7f3ce
commit
13ea63be5c
1 changed files with 3 additions and 1 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue