Fix circular import issues for tests

This commit is contained in:
DarkPhoenix
2019-11-12 14:59:43 +03:00
parent a91efb681f
commit 2a2d9d3456
6 changed files with 25 additions and 17 deletions

View File

@@ -5,7 +5,8 @@ import sys
script_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.append(os.path.realpath(os.path.join(script_dir, '..', '..', '..')))
# noinspection PyPackageRequirements
# This import is here to hack around circular import issues
import gui.mainFrame
# noinspection PyPackageRequirements
from service.fit import Fit