Addon Manager: Remove direct FreeCAD import in tests
This commit is contained in:
committed by
Chris Hennes
parent
2e2153813f
commit
892c0a95f6
@@ -21,6 +21,8 @@
|
||||
# * *
|
||||
# ***************************************************************************
|
||||
|
||||
import addonmanager_freecad_interface as fci
|
||||
|
||||
# Unit tests for the Addon Manager module
|
||||
from AddonManagerTest.app.test_utilities import (
|
||||
TestUtilities as AddonManagerTestUtilities,
|
||||
@@ -76,6 +78,5 @@ loaded_gui_tests = [
|
||||
AddonManagerTestDataPaths,
|
||||
TestListTerminator # Needed to prevent the last test from running twice
|
||||
]
|
||||
if FreeCAD:
|
||||
for test in loaded_gui_tests:
|
||||
FreeCAD.Console.PrintLog(f"Loaded tests from {test.__name__}\n")
|
||||
for test in loaded_gui_tests:
|
||||
fci.Console.PrintLog(f"Loaded tests from {test.__name__}\n")
|
||||
|
||||
Reference in New Issue
Block a user