fix unittest local path

This commit is contained in:
Fabian Dill 2021-04-15 04:01:25 +02:00
parent 063997610d
commit e7a746c06c
1 changed files with 6 additions and 1 deletions

View File

@ -1,9 +1,14 @@
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 worlds.alttp.Items import ItemFactory
class TestBase(unittest.TestCase):
world: MultiWorld
_state_cache = {}