Skip to content

Commit 97f8e4f

Browse files
chore: update UPGRADABLE_CARDS_MAP
1 parent 75aa668 commit 97f8e4f

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

hearthstone/utils/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,9 @@
439439
"TOY_330t10": "TOY_330",
440440
"TOY_330t11": "TOY_330",
441441
"TOY_330t12": "TOY_330",
442+
# Lady Azshara
443+
"TIME_211t1t": "TIME_211t1", # The Well of Eternity
444+
"TIME_211t2t": "TIME_211t2", # Zin-Azshari
442445
}
443446

444447

tests/test_utils.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@ def test_upgradable_card_map():
88

99
for upgraded, original in UPGRADABLE_CARDS_MAP.items():
1010
assert cardid_db[original]
11-
assert cardid_db[original].collectible
11+
assert cardid_db[original].collectible or cardid_db[original].is_fabled_bundle_card
1212
assert cardid_db[upgraded]
13-
assert not cardid_db[upgraded].collectible
13+
assert (
14+
not cardid_db[upgraded].collectible and
15+
not cardid_db[upgraded].is_fabled_bundle_card
16+
)
1417

1518

1619
def test_race_tag_map():

0 commit comments

Comments
 (0)