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:
parent
af213c9e5d
commit
67a0a04917
|
@ -329,7 +329,7 @@ class WorldTestBase(unittest.TestCase):
|
||||||
for n in range(len(locations) - 1, -1, -1):
|
for n in range(len(locations) - 1, -1, -1):
|
||||||
if locations[n].can_reach(state):
|
if locations[n].can_reach(state):
|
||||||
sphere.append(locations.pop(n))
|
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}")
|
f"Unreachable locations: {locations}")
|
||||||
if not sphere:
|
if not sphere:
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue