From aa2774a5d53367273cc760b4aff843579696eef3 Mon Sep 17 00:00:00 2001 From: qwint Date: Tue, 25 Nov 2025 12:26:37 -0600 Subject: [PATCH] Tests: Move world dependencies in tests to APQuest #5668 --- test/general/test_options.py | 6 +++--- test/programs/data/one_player/test.yaml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/general/test_options.py b/test/general/test_options.py index f5111e9138..cbd8d7b533 100644 --- a/test/general/test_options.py +++ b/test/general/test_options.py @@ -44,19 +44,19 @@ class TestOptions(unittest.TestCase): }], [{ "name": "ItemLinkGroup", - "item_pool": ["Hammer", "Bow"], + "item_pool": ["Hammer", "Sword"], "link_replacement": False, "replacement_item": None, }] ] # we really need some sort of test world but generic doesn't have enough items for this - world = AutoWorldRegister.world_types["A Link to the Past"] + world = AutoWorldRegister.world_types["APQuest"] plando_options = PlandoOptions.from_option_string("bosses") item_links = [ItemLinks.from_any(item_link_groups[0]), ItemLinks.from_any(item_link_groups[1])] for link in item_links: link.verify(world, "tester", plando_options) self.assertIn("Hammer", link.value[0]["item_pool"]) - self.assertIn("Bow", link.value[0]["item_pool"]) + self.assertIn("Sword", link.value[0]["item_pool"]) # TODO test that the group created using these options has the items diff --git a/test/programs/data/one_player/test.yaml b/test/programs/data/one_player/test.yaml index 47d79cf636..a934937027 100644 --- a/test/programs/data/one_player/test.yaml +++ b/test/programs/data/one_player/test.yaml @@ -2,8 +2,8 @@ description: Almost blank test yaml name: Player{NUMBER} game: - Timespinner: 1 # what else + APQuest: 1 # what else requires: version: 0.2.6 -Timespinner: {} +APQuest: {}