[TD]update property name in Balloon test case

This commit is contained in:
WandererFan
2019-12-26 23:01:21 -05:00
committed by WandererFan
parent eb46f15159
commit 5bd578d6eb

View File

@@ -50,7 +50,7 @@ def DVBalloonTest():
print("Place balloon")
balloon1 = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewBalloon','Balloon1')
balloon1.sourceView=view1
balloon1.SourceView=view1
balloon1.OriginIsSet=1
balloon1.OriginX=view1.X + Units.Quantity(20.0,Units.Length)
balloon1.OriginY=view1.Y + Units.Quantity(20.0,Units.Length)
@@ -62,7 +62,7 @@ def DVBalloonTest():
rc = page.addView(balloon1)
balloon2 = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewBalloon','Balloon2')
balloon2.sourceView=view2
balloon2.SourceView=view2
balloon2.OriginIsSet=1
balloon2.OriginX=view2.X + Units.Quantity(20.0,Units.Length)
balloon2.OriginY=view2.Y + Units.Quantity(20.0,Units.Length)