fix unittest local path
This commit is contained in:
parent
063997610d
commit
e7a746c06c
|
@ -1,9 +1,14 @@
|
||||||
import unittest
|
import unittest
|
||||||
|
import pathlib
|
||||||
|
|
||||||
|
import Utils
|
||||||
|
|
||||||
|
file_path = pathlib.Path(__file__).parent.parent
|
||||||
|
Utils.local_path.cached_path = file_path
|
||||||
|
|
||||||
from BaseClasses import MultiWorld, CollectionState
|
from BaseClasses import MultiWorld, CollectionState
|
||||||
from worlds.alttp.Items import ItemFactory
|
from worlds.alttp.Items import ItemFactory
|
||||||
|
|
||||||
|
|
||||||
class TestBase(unittest.TestCase):
|
class TestBase(unittest.TestCase):
|
||||||
world: MultiWorld
|
world: MultiWorld
|
||||||
_state_cache = {}
|
_state_cache = {}
|
||||||
|
|
Loading…
Reference in New Issue