Skip to content

Commit ee3337f

Browse files
committed
Update tests to match latest changes
1 parent ad3acbf commit ee3337f

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

AddonManagerTest/app/test_freecad_interface.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ def test_log_with_freecad(self):
6666
"""Ensure that if FreeCAD exists, the appropriate function is called"""
6767
sys.modules["FreeCAD"] = unittest.mock.MagicMock()
6868
sys.modules["FreeCADGui"] = unittest.mock.MagicMock()
69+
sys.modules["freecad.utils"] = unittest.mock.MagicMock()
6970
import addonmanager_freecad_interface as fc
7071

7172
fc.Console.PrintLog("Test output")

AddonManagerTest/data/depends_on_all_workbenches.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,26 @@
1313
<workbench>
1414
<classname>MyFirstWorkbench</classname>
1515
<icon>Resources/icons/PackageIcon.svg</icon>
16-
<depend>BIM</depend>
1716
<depend>Assembly</depend>
17+
<depend>BIM</depend>
18+
<depend>CAM</depend>
1819
<depend>DraftWB</depend>
1920
<depend>FEM WB</depend>
21+
<depend>Import</depend>
22+
<depend>Material</depend>
2023
<depend>MeshWorkbench</depend>
2124
<depend>OpenSCAD Workbench</depend>
2225
<depend>Part WORKBENCH</depend>
2326
<depend>PartDesign WB</depend>
24-
<depend>CAM</depend>
2527
<depend>Plot</depend>
2628
<depend>POINTS</depend>
29+
<depend>ReverseEngineering</depend>
2730
<depend>ROBOTWB</depend>
2831
<depend>Sketcher workbench</depend>
2932
<depend>Spreadsheet</depend>
3033
<depend>TechDraw</depend>
34+
<depend>Tux</depend>
35+
<depend>Web</depend>
3136
</workbench>
3237
</content>
3338

0 commit comments

Comments
 (0)