From 67a0a0491790aeda7d55fe319202a3eed31c4bc8 Mon Sep 17 00:00:00 2001 From: chesslogic Date: Mon, 17 Jun 2024 19:49:26 -0700 Subject: [PATCH] Tests: minor: update tests base for Options API (#2516) * update tests for Options API * The actual "bug" * resolve qwint's comment from 3 months ago --- test/bases.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/bases.py b/test/bases.py index ee9fbcb6..928ab5b1 100644 --- a/test/bases.py +++ b/test/bases.py @@ -329,7 +329,7 @@ class WorldTestBase(unittest.TestCase): for n in range(len(locations) - 1, -1, -1): if locations[n].can_reach(state): sphere.append(locations.pop(n)) - self.assertTrue(sphere or self.multiworld.accessibility[1] == "minimal", + self.assertTrue(sphere or self.multiworld.worlds[1].options.accessibility == "minimal", f"Unreachable locations: {locations}") if not sphere: break