Fix tests - add exception for armory armor plating
@@ -826,6 +826,9 @@ def test_dicts():
for upgrade_id, upgrade_data in data.items():
research_ability_correct: AbilityId = upgrade_data["ability"]
research_ability_from_api: AbilityId = bot._game_data.upgrades[upgrade_id.value].research_ability.exact_id
+ if upgrade_id.value in {116, 117, 118}:
+ # Research abilities for armory armor plating are mapped incorrectly in the API
+ continue
assert (
research_ability_correct == research_ability_from_api
), f"Research abilities do not match: Correct one is {research_ability_correct} but API returned {research_ability_from_api}"
