From 5e776f45fc9fdb33317888cde7427b5124cc956c Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sun, 21 Mar 2021 05:26:15 +0100 Subject: [PATCH] set all Hollow Knight items to be randomized in Unittest --- test/hollow_knight/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/hollow_knight/__init__.py b/test/hollow_knight/__init__.py index e539b799..63212fdf 100644 --- a/test/hollow_knight/__init__.py +++ b/test/hollow_knight/__init__.py @@ -9,5 +9,8 @@ class TestVanilla(TestBase): def setUp(self): self.world = MultiWorld(1) self.world.game[1] = "Hollow Knight" + import Options + for hk_option in Options.hollow_knight_randomize_options: + getattr(self.world, hk_option)[1] = True create_regions(self.world, 1) gen_hollow(self.world, 1) \ No newline at end of file