|
4 | 4 | import sys
|
5 | 5 |
|
6 | 6 | from BaseClasses import MultiWorld
|
7 |
| -from . import setup_solo_multiworld |
8 |
| -from .TestOptions import basic_checks, SVTestBase |
9 |
| -from .. import options, locations, items, Group, ItemClassification, StardewOptions |
10 |
| -from ..regions import RandomizationFlag, create_final_connections, randomize_connections, create_final_regions |
11 |
| -from ..items import item_table, items_by_group |
12 |
| -from ..locations import location_table, LocationTags |
13 |
| -from ..options import stardew_valley_option_classes, Mods, EntranceRandomization |
| 7 | +from worlds.stardew_valley.test import setup_solo_multiworld |
| 8 | +from worlds.stardew_valley.test.TestOptions import basic_checks, SVTestBase |
| 9 | +from worlds.stardew_valley import options, locations, items, Group, ItemClassification, StardewOptions |
| 10 | +from worlds.stardew_valley.mods.mod_data import ModNames |
| 11 | +from worlds.stardew_valley.regions import RandomizationFlag, create_final_connections, randomize_connections, create_final_regions |
| 12 | +from worlds.stardew_valley.items import item_table, items_by_group |
| 13 | +from worlds.stardew_valley.locations import location_table, LocationTags |
| 14 | +from worlds.stardew_valley.options import stardew_valley_option_classes, Mods, EntranceRandomization |
14 | 15 |
|
15 | 16 | mod_list = ["DeepWoods", "Tractor Mod", "Bigger Backpack",
|
16 | 17 | "Luck Skill", "Magic", "Socializing Skill", "Archaeology",
|
@@ -78,21 +79,6 @@ def test_given_mod_names_when_generate_paired_with_other_options_then_basic_chec
|
78 | 79 | check_stray_mod_items(mod, self, multiworld)
|
79 | 80 |
|
80 | 81 |
|
81 |
| -class TestGivenModdedProgressiveBackpack(SVTestBase): |
82 |
| - options = {options.BackpackProgression.internal_name: options.BackpackProgression.option_progressive, |
83 |
| - options.Mods.internal_name: "Bigger Backpack"} |
84 |
| - |
85 |
| - def test_when_generate_world_then_three_progressive_backpack_are_added(self): |
86 |
| - self.assertEqual(self.multiworld.itempool.count(self.world.create_item("Progressive Backpack")), 3) |
87 |
| - |
88 |
| - def test_when_generate_world_then_all_backpack_locations_are_added(self): |
89 |
| - created_locations = {location.name for location in self.multiworld.get_locations(1)} |
90 |
| - backpacks_exist = [location.name in created_locations |
91 |
| - for location in locations.locations_by_tag[LocationTags.BACKPACK]] |
92 |
| - all_exist = all(backpacks_exist) |
93 |
| - self.assertTrue(all_exist) |
94 |
| - |
95 |
| - |
96 | 82 | class TestBaseItemGeneration(SVTestBase):
|
97 | 83 | options = {
|
98 | 84 | options.Friendsanity.internal_name: options.Friendsanity.option_all_with_marriage,
|
|
0 commit comments