mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Test: fix setting seed from the hash of the seed method, rather than calling it
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
from random import seed
|
from typing import Dict, Optional, Callable
|
||||||
from typing import Dict, Optional, Callable, Tuple, List
|
|
||||||
|
|
||||||
from BaseClasses import MultiWorld, CollectionState, Region
|
from BaseClasses import MultiWorld, CollectionState, Region
|
||||||
import unittest
|
import unittest
|
||||||
@@ -13,7 +12,7 @@ class TestHelpers(unittest.TestCase):
|
|||||||
self.multiworld = MultiWorld(self.player)
|
self.multiworld = MultiWorld(self.player)
|
||||||
self.multiworld.game[self.player] = "helper_test_game"
|
self.multiworld.game[self.player] = "helper_test_game"
|
||||||
self.multiworld.player_name = {1: "Tester"}
|
self.multiworld.player_name = {1: "Tester"}
|
||||||
self.multiworld.set_seed(seed)
|
self.multiworld.set_seed()
|
||||||
self.multiworld.set_default_common_options()
|
self.multiworld.set_default_common_options()
|
||||||
|
|
||||||
def testRegionHelpers(self) -> None:
|
def testRegionHelpers(self) -> None:
|
||||||
|
Reference in New Issue
Block a user