Path: fix bug in Path Gui tests

This commit is contained in:
0penBrain
2023-01-14 12:01:26 +01:00
parent c792e7b6c5
commit 6c54c33f49

View File

@@ -61,7 +61,7 @@ class TestPathAdaptive(PathTestBase):
cls.job = PathJob.Create("Job", [cls.doc.Fusion], None)
cls.job.GeometryTolerance.Value = 0.001
if FreeCAD.GuiUp:
job.ViewObject.Proxy = PathJobGui.ViewProvider(job.ViewObject)
cls.job.ViewObject.Proxy = PathJobGui.ViewProvider(cls.job.ViewObject)
# Instantiate an Adaptive operation for querying available properties
cls.prototype = PathAdaptive.Create("Adaptive")