mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Core: fix unittest world discovery (#2262)
This commit is contained in:
@@ -13,5 +13,6 @@ ModuleUpdate.update_ran = True # don't upgrade
|
|||||||
|
|
||||||
import Utils
|
import Utils
|
||||||
|
|
||||||
Utils.local_path.cached_path = pathlib.Path(__file__).parent.parent
|
file_path = pathlib.Path(__file__).parent.parent
|
||||||
|
Utils.local_path.cached_path = file_path
|
||||||
Utils.user_path() # initialize cached_path
|
Utils.user_path() # initialize cached_path
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
def load_tests(loader, standard_tests, pattern):
|
def load_tests(loader, standard_tests, pattern):
|
||||||
import os
|
import os
|
||||||
import unittest
|
import unittest
|
||||||
from ..TestBase import file_path
|
from .. import file_path
|
||||||
from worlds.AutoWorld import AutoWorldRegister
|
from worlds.AutoWorld import AutoWorldRegister
|
||||||
|
|
||||||
suite = unittest.TestSuite()
|
suite = unittest.TestSuite()
|
||||||
|
Reference in New Issue
Block a user