Archipelago/test/__init__.py

20 lines
450 B
Python
Raw Permalink Normal View History

2023-10-02 06:47:28 +00:00
import pathlib
import warnings
import settings
warnings.simplefilter("always")
warnings.filterwarnings(action="ignore", category=DeprecationWarning, module="s2clientprotocol")
settings.no_gui = True
settings.skip_autosave = True
2023-10-02 06:47:28 +00:00
import ModuleUpdate
ModuleUpdate.update_ran = True # don't upgrade
import Utils
file_path = pathlib.Path(__file__).parent.parent
Utils.local_path.cached_path = file_path
2023-10-02 06:47:28 +00:00
Utils.user_path() # initialize cached_path