Shop-Topbar: Level/XP/Odds links, Lock rechts; Shine nur bei eigenem Champion
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -55,8 +55,9 @@ def test_invalid_action_is_400(client):
|
||||
def test_state_shape(client):
|
||||
state = client.post("/api/game", params={"seed": 5}).json()
|
||||
for key in ("round", "player", "board", "bench", "shop", "traits",
|
||||
"opponents", "items", "over", "log"):
|
||||
"opponents", "items", "over", "log", "shop_odds", "shop_locked"):
|
||||
assert key in state
|
||||
assert sum(state["shop_odds"]) == 100
|
||||
assert state["player"]["score"] == 0.0
|
||||
assert all(o["board"] is not None for o in state["opponents"])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user