test: Early load custom configuration

hack for borg class

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
Hiroshi Miura
2021-05-23 12:12:04 +09:00
parent cfbbba0572
commit ca72e070c7
5 changed files with 27 additions and 32 deletions

View File

@@ -0,0 +1,7 @@
import os
from aqt import helper
# Early load custom configuration for test because it is Borg/Singleton
helper.Settings(os.path.join(os.path.dirname(__file__), "data", "settings.ini"))