fix the Hollow Knight Unittest. Yes, the one test.

This commit is contained in:
Fabian Dill 2021-06-25 23:39:22 +02:00
parent 7f8bb10fc5
commit 43e3c84635
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
import worlds.hk.Options
from worlds.hk import Options
from BaseClasses import MultiWorld
from worlds.hk.Regions import create_regions
from worlds.hk import gen_hollow
@ -10,9 +10,9 @@ class TestVanilla(TestBase):
def setUp(self):
self.world = MultiWorld(1)
self.world.game[1] = "Hollow Knight"
for hk_option in worlds.hk.Options.hollow_knight_randomize_options:
for hk_option in Options.hollow_knight_randomize_options:
setattr(self.world, hk_option, {1: True})
for hk_option, option in worlds.hk.Options.hollow_knight_skip_options.items():
for hk_option, option in Options.hollow_knight_skip_options.items():
setattr(self.world, hk_option, {1: option.default})
create_regions(self.world, 1)
gen_hollow(self.world, 1)