From 985a40254c6680e0d1d4a3a80f7bacf64908d5a2 Mon Sep 17 00:00:00 2001 From: beauxq Date: Thu, 4 Jan 2024 14:04:43 -0800 Subject: [PATCH 1/2] remove deprecated option access from `WorldTestBase` --- test/bases.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/bases.py b/test/bases.py index d6a43c598ff..7ce12cc7b78 100644 --- a/test/bases.py +++ b/test/bases.py @@ -285,7 +285,7 @@ def test_all_state_can_reach_everything(self): if not (self.run_default_tests and self.constructed): return with self.subTest("Game", game=self.game): - excluded = self.multiworld.exclude_locations[1].value + excluded = self.multiworld.worlds[1].options.exclude_locations.value state = self.multiworld.get_all_state(False) for location in self.multiworld.get_locations(): if location.name not in excluded: From 7dbc16d8f30542b2c01e4b845d8bccecd42c3d77 Mon Sep 17 00:00:00 2001 From: beauxq Date: Sat, 6 Jan 2024 12:38:08 -0800 Subject: [PATCH 2/2] one in test_reachability --- test/general/test_reachability.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/general/test_reachability.py b/test/general/test_reachability.py index 828912ee35a..cfd83c94046 100644 --- a/test/general/test_reachability.py +++ b/test/general/test_reachability.py @@ -37,7 +37,7 @@ def test_default_all_state_can_reach_everything(self): unreachable_regions = self.default_settings_unreachable_regions.get(game_name, set()) with self.subTest("Game", game=game_name): world = setup_solo_multiworld(world_type) - excluded = world.exclude_locations[1].value + excluded = world.worlds[1].options.exclude_locations.value state = world.get_all_state(False) for location in world.get_locations(): if location.name not in excluded: