Test: fix setting seed from the hash of the seed method, rather than calling it

This commit is contained in:
Fabian Dill 2023-05-02 16:12:19 +02:00 committed by Fabian Dill
parent 0363630f61
commit a60f370224
1 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,4 @@
from random import seed
from typing import Dict, Optional, Callable, Tuple, List
from typing import Dict, Optional, Callable
from BaseClasses import MultiWorld, CollectionState, Region
import unittest
@ -13,7 +12,7 @@ class TestHelpers(unittest.TestCase):
self.multiworld = MultiWorld(self.player)
self.multiworld.game[self.player] = "helper_test_game"
self.multiworld.player_name = {1: "Tester"}
self.multiworld.set_seed(seed)
self.multiworld.set_seed()
self.multiworld.set_default_common_options()
def testRegionHelpers(self) -> None: