2021-06-26 17:52:50 +00:00
|
|
|
from worlds.hk import HKWorld
|
2021-02-25 17:23:19 +00:00
|
|
|
from BaseClasses import MultiWorld
|
2021-06-26 17:52:50 +00:00
|
|
|
from worlds import AutoWorld
|
|
|
|
from worlds.hk.Options import hollow_knight_randomize_options, hollow_knight_skip_options
|
2021-02-25 17:23:19 +00:00
|
|
|
|
|
|
|
from test.TestBase import TestBase
|
|
|
|
|
|
|
|
|
|
|
|
class TestVanilla(TestBase):
|
|
|
|
def setUp(self):
|
2021-03-14 07:38:02 +00:00
|
|
|
self.world = MultiWorld(1)
|
2021-02-25 17:23:19 +00:00
|
|
|
self.world.game[1] = "Hollow Knight"
|
2021-06-26 17:52:50 +00:00
|
|
|
self.world.worlds[1] = HKWorld(self.world, 1)
|
|
|
|
for hk_option in hollow_knight_randomize_options:
|
2021-06-08 20:14:56 +00:00
|
|
|
setattr(self.world, hk_option, {1: True})
|
2021-06-26 17:52:50 +00:00
|
|
|
for hk_option, option in hollow_knight_skip_options.items():
|
2021-06-08 20:14:56 +00:00
|
|
|
setattr(self.world, hk_option, {1: option.default})
|
2021-06-26 17:52:50 +00:00
|
|
|
AutoWorld.call_single(self.world, "create_regions", 1)
|
|
|
|
AutoWorld.call_single(self.world, "generate_basic", 1)
|
|
|
|
AutoWorld.call_single(self.world, "set_rules", 1)
|