Skip to content

Commit

Permalink
Test: fix setting seed from the hash of the seed method, rather than …
Browse files Browse the repository at this point in the history
…calling it
  • Loading branch information
Berserker66 committed May 3, 2023
1 parent 0363630 commit a60f370
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/general/TestHelpers.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -13,7 +12,7 @@ def setUp(self) -> None:
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:
Expand Down

0 comments on commit a60f370

Please sign in to comment.