From e7a746c06c73fe061842b220916856229c499136 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Thu, 15 Apr 2021 04:01:25 +0200 Subject: [PATCH] fix unittest local path --- test/TestBase.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/TestBase.py b/test/TestBase.py index b96bb240..431aaa00 100644 --- a/test/TestBase.py +++ b/test/TestBase.py @@ -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 = {}