Skip to content

Commit 88087bb

Browse files
fix format name (#822)
1 parent 817c6f1 commit 88087bb

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

fixture_data/teams.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"packed-format": "zuzu|azumarill|aguavberry|hugepower|aquajet,bellydrum,return,playrough|Adamant|44,252,18,4,18,172|F||S|67|211]metal bird|celesteela|leftovers|beastboost|protect,rockslide,heavyslam,leechseed|Impish|252,,72,,184,||,,,0,9,20|||144]Garchomp||choiceband|roughskin|rockslide,earthpower,outrage,aquatail|Jolly|8,252,,,,248|||S||]Greninja||choicespecs|protean|scald,icebeam,darkpulse,extrasensory|Timid|4,,,252,,252|M|29,0,3,6,21,23|||]Heatran||assaultvest|flashfire|overheat,flamethrower,flashcannon,earthpower|Modest|252,,,252,,4||,0,,,26,|||,Ice,]kaaaaaaa|kartana|focussash|beastboost|leafblade,sacredsword,swordsdance,xscissor|Jolly|4,252,,,,252||||62|200"
8484
}
8585
],
86-
"gen9vgc2025regi": [
86+
"gen9vgc2024regg": [
8787
{
8888
"showdown-file": "beastcoasttt-413XPlayz.showdown",
8989
"packed-format": "Iron Hands||assaultvest|quarkdrive|fakeout,drainpunch,wildcharge,heavyslam|Adamant|4,156,4,,252,92||||50|,,,,,Water]Flutter Mane||boosterenergy|protosynthesis|moonblast,shadowball,icywind,protect|Timid|4,,196,148,4,156||,0,,,,||50|,,,,,Fairy]Landorus-Therian||choicescarf|intimidate|stompingtantrum,terablast,rockslide,uturn|Adamant|132,116,4,,4,252||||50|,,,,,Flying]Ogerpon-Wellspring||wellspringmask|waterabsorb|spikyshield,ivycudgel,hornleech,followme|Adamant|252,76,100,,12,68|F|||50|,,,,,Water]Chi-Yu||choicespecs|beadsofruin|heatwave,darkpulse,snarl,overheat|Timid|132,,4,108,12,252||,0,,,,||50|,,,,,Ghost]Sinistcha||rockyhelmet|hospitality|matchagotcha,ragepowder,trickroom,strengthsap|Bold|252,,252,4,,||,0,,,,||50|,,,,,Fairy"

unit_tests/environment/test_pokemon.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def test_details():
195195

196196
def test_teambuilder(showdown_format_teams):
197197
tb_mons = Teambuilder.parse_showdown_team(
198-
showdown_format_teams["gen9vgc2025regi"][0]
198+
showdown_format_teams["gen9vgc2024regg"][0]
199199
)
200200
mon = Pokemon(9, teambuilder=tb_mons[0])
201201

@@ -279,7 +279,7 @@ def test_name(example_doubles_request):
279279
def test_stats(example_request, showdown_format_teams):
280280
request_mons = example_request["side"]["pokemon"]
281281
tb_mons = Teambuilder.parse_showdown_team(
282-
showdown_format_teams["gen9vgc2025regi"][0]
282+
showdown_format_teams["gen9vgc2024regg"][0]
283283
)
284284

285285
species_mon = Pokemon(9, species="furret")

unit_tests/player/test_player_misc.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,11 @@ async def test_awaitable_move(send_message_patch):
247247
@pytest.mark.asyncio
248248
async def test_create_teampreview_team(showdown_format_teams):
249249
player = SimplePlayer(
250-
battle_format="gen9vgc2025regi",
251-
team=showdown_format_teams["gen9vgc2025regi"][0],
250+
battle_format="gen9vgc2024regg",
251+
team=showdown_format_teams["gen9vgc2024regg"][0],
252252
)
253253

254-
battle = await player._create_battle(["", "gen9vgc2025regi", "uuu"])
254+
battle = await player._create_battle(["", "gen9vgc2024regg", "uuu"])
255255

256256
assert len(battle.teampreview_team) == 6
257257

@@ -280,9 +280,9 @@ async def test_create_teampreview_team(showdown_format_teams):
280280

281281
@pytest.mark.asyncio
282282
async def test_parse_showteam(packed_format_teams):
283-
packed_team = packed_format_teams["gen9vgc2025regi"][0]
284-
player = SimplePlayer(battle_format="gen9vgc2025regi", team=packed_team)
285-
battle = await player._create_battle(["", "gen9vgc2025regi", "uuu"])
283+
packed_team = packed_format_teams["gen9vgc2024regg"][0]
284+
player = SimplePlayer(battle_format="gen9vgc2024regg", team=packed_team)
285+
battle = await player._create_battle(["", "gen9vgc2024regg", "uuu"])
286286
battle._player_role = "p2"
287287
assert battle.opponent_role is not None
288288

0 commit comments

Comments
 (0)