From 8d8fb529dc0153be70c148c6eadd37eca4073847 Mon Sep 17 00:00:00 2001 From: Markus Lampert Date: Tue, 10 Oct 2017 10:57:08 -0700 Subject: [PATCH] Fixed dogbone unit test to deal with expression instead of Lock property. --- src/Mod/Path/PathTests/TestPathDressupDogbone.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Path/PathTests/TestPathDressupDogbone.py b/src/Mod/Path/PathTests/TestPathDressupDogbone.py index ef6e669919..61d75d8636 100644 --- a/src/Mod/Path/PathTests/TestPathDressupDogbone.py +++ b/src/Mod/Path/PathTests/TestPathDressupDogbone.py @@ -118,9 +118,9 @@ class TestDressupDogbone(PathTestBase): profile.Base = (cut, face) profile.StepDown = 5 # set start and final depth in order to eliminate effects of stock (and its default values) - profile.StartDepthLock = True + profile.setExpression('StartDepth', None) profile.StartDepth = 10 - profile.FinalDepthLock = True + profile.setExpression('FinalDepth', None) profile.FinalDepth = 0 profile.processHoles = True