From 43e3c846350e399eec716e0e90fd63bbae499d9d Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Fri, 25 Jun 2021 23:39:22 +0200 Subject: [PATCH] fix the Hollow Knight Unittest. Yes, the one test. --- test/hollow_knight/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/hollow_knight/__init__.py b/test/hollow_knight/__init__.py index d12f521c..ec29f896 100644 --- a/test/hollow_knight/__init__.py +++ b/test/hollow_knight/__init__.py @@ -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) \ No newline at end of file