Skip to content

Commit 1dc888e

Browse files
committed
Fix tests for new ramps and vision blocker function
1 parent 9083ca7 commit 1dc888e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_pickled_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def test_bot_ai(self, bot: BotAI):
109109
assert bot.townhalls.random.position not in bot.enemy_start_locations
110110
assert bot.known_enemy_units == Units([])
111111
assert bot.known_enemy_structures == Units([])
112-
bot._game_info.map_ramps = bot._game_info._find_ramps()
112+
bot._game_info.map_ramps, bot._game_info.vision_blockers = bot._game_info._find_ramps_and_vision_blockers()
113113
assert bot.main_base_ramp # Test if any ramp was found
114114
# TODO: Cache all expansion positions for a map and check if it is the same
115115
assert len(bot.expansion_locations) >= 12

0 commit comments

Comments
 (0)