Archipelago/test/hollow_knight/__init__.py

18 lines
643 B
Python
Raw Normal View History

from worlds.hk import Options
from BaseClasses import MultiWorld
from worlds.hk.Regions import create_regions
from worlds.hk import gen_hollow
from test.TestBase import TestBase
class TestVanilla(TestBase):
def setUp(self):
2021-03-14 07:38:02 +00:00
self.world = MultiWorld(1)
self.world.game[1] = "Hollow Knight"
for hk_option in Options.hollow_knight_randomize_options:
2021-06-08 20:14:56 +00:00
setattr(self.world, hk_option, {1: True})
for hk_option, option in Options.hollow_knight_skip_options.items():
2021-06-08 20:14:56 +00:00
setattr(self.world, hk_option, {1: option.default})
create_regions(self.world, 1)
gen_hollow(self.world, 1)