Core/Tests: No Locality Changes After generate_early (#4481)

* Change timing of locality option locking

* Update world api.md

* Remove whitespace
This commit is contained in:
Exempt-Medic
2025-07-26 16:30:55 -04:00
committed by GitHub
parent 774457b362
commit de4014f02c
3 changed files with 13 additions and 11 deletions

View File

@@ -148,8 +148,8 @@ class TestBase(unittest.TestCase):
def test_locality_not_modified(self):
"""Test that worlds don't modify the locality of items after duplicates are resolved"""
gen_steps = ("generate_early", "create_regions", "create_items")
additional_steps = ("set_rules", "connect_entrances", "generate_basic", "pre_fill")
gen_steps = ("generate_early",)
additional_steps = ("create_regions", "create_items", "set_rules", "connect_entrances", "generate_basic", "pre_fill")
worlds_to_test = {game: world for game, world in AutoWorldRegister.world_types.items()}
for game_name, world_type in worlds_to_test.items():
with self.subTest("Game", game=game_name):