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
This commit is contained in:
chesslogic 2024-06-17 19:49:26 -07:00 committed by GitHub
parent af213c9e5d
commit 67a0a04917
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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