Skip to content

Commit

Permalink
Exclude cyclone and tempest upgrade in 'test_dicts' on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
BurnySc2 committed Oct 23, 2024
1 parent 7768501 commit 0dc9937
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test_pickled_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import lzma
import math
import pickle
import platform
import random
import sys
import unittest
Expand Down Expand Up @@ -984,6 +985,10 @@ def test_dicts():
if upgrade_id.value in {116, 117, 118}:
# Research abilities for armory armor plating are mapped incorrectly in the API
continue
if upgrade_id.value in {296, 297} and platform.system() == "Linux":
# TODO fix me, does not work on linux
# HURRICANETHRUSTERS and TEMPESTGROUNDATTACKUPGRADE were changed in 5.0.12
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}"
Expand Down

0 comments on commit 0dc9937

Please sign in to comment.