LTTP: remove multiworld = None (#2290)

This commit is contained in:
Aaron Wagener
2024-03-10 01:18:25 -06:00
committed by GitHub
parent 4ce58c0240
commit 939a5ec959
17 changed files with 122 additions and 122 deletions

View File

@@ -1,5 +1,5 @@
from test.TestBase import WorldTestBase
from ...Items import ItemFactory
from test.bases import WorldTestBase
from ...Items import item_factory
class PyramidTestBase(WorldTestBase):
@@ -32,6 +32,6 @@ class GoalPyramidTest(PyramidTestBase):
self.assertFalse(self.can_reach_entrance("Pyramid Hole"))
self.collect_by_name(["Hammer", "Progressive Glove", "Moon Pearl"])
self.assertFalse(self.can_reach_entrance("Pyramid Hole"))
self.multiworld.state.collect(ItemFactory("Beat Agahnim 2", 1))
self.collect(item_factory("Beat Agahnim 2", self.multiworld.worlds[1]))
self.assertTrue(self.can_reach_entrance("Pyramid Hole"))