From 81543911d41257f3307256e9f515e10de678a5b8 Mon Sep 17 00:00:00 2001 From: 0penBrain <48731257+0penBrain@users.noreply.github.com> Date: Sat, 14 Jan 2023 12:01:26 +0100 Subject: [PATCH] Path: fix bug in Path Gui tests --- src/Mod/Path/PathTests/TestPathAdaptive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/PathTests/TestPathAdaptive.py b/src/Mod/Path/PathTests/TestPathAdaptive.py index cd5babd271..1b4d21f773 100644 --- a/src/Mod/Path/PathTests/TestPathAdaptive.py +++ b/src/Mod/Path/PathTests/TestPathAdaptive.py @@ -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")