Fixing unit tests for FFR by excluding tests that use Default settings as FFR logic is controlled by the original randomizer

This commit is contained in:
jtoyoda 2022-02-20 14:19:20 -07:00 committed by Fabian Dill
parent 6c7be51221
commit cdc0b7a649
1 changed files with 5 additions and 3 deletions

View File

@ -10,7 +10,8 @@ class TestBase(unittest.TestCase):
def testAllStateCanReachEverything(self): def testAllStateCanReachEverything(self):
for game_name, world_type in AutoWorldRegister.world_types.items(): for game_name, world_type in AutoWorldRegister.world_types.items():
if game_name != "Ori and the Blind Forest": # TODO: fix Ori Logic # Final Fantasy logic is controlled by finalfantasyrandomizer.com
if game_name != "Ori and the Blind Forest" and game_name != "Final Fantasy": # TODO: fix Ori Logic
with self.subTest("Game", game=game_name): with self.subTest("Game", game=game_name):
world = setup_default_world(world_type) world = setup_default_world(world_type)
state = world.get_all_state(False) state = world.get_all_state(False)
@ -20,7 +21,8 @@ class TestBase(unittest.TestCase):
def testEmptyStateCanReachSomething(self): def testEmptyStateCanReachSomething(self):
for game_name, world_type in AutoWorldRegister.world_types.items(): for game_name, world_type in AutoWorldRegister.world_types.items():
if game_name != "Archipelago": # Final Fantasy logic is controlled by finalfantasyrandomizer.com
if game_name != "Archipelago" and game_name != "Final Fantasy":
with self.subTest("Game", game=game_name): with self.subTest("Game", game=game_name):
world = setup_default_world(world_type) world = setup_default_world(world_type)
state = CollectionState(world) state = CollectionState(world)