Fix various whitespace issues
This commit is contained in:
@@ -32,9 +32,9 @@ class DrawViewDimensionTest(unittest.TestCase):
|
||||
self.view1.Source = [self.document.Sphere]
|
||||
self.view1.X = 220
|
||||
self.view1.Y = 150
|
||||
|
||||
|
||||
self.document.recompute()
|
||||
|
||||
|
||||
#wait for threads to complete before checking result
|
||||
loop = QtCore.QEventLoop()
|
||||
|
||||
@@ -53,7 +53,7 @@ class DrawViewDimensionTest(unittest.TestCase):
|
||||
"""Tests if a length dimension can be added to view"""
|
||||
# make length dimension
|
||||
print("making length dimension")
|
||||
|
||||
|
||||
dimension = self.document.addObject("TechDraw::DrawViewDimension", "Dimension")
|
||||
self.page.addView(dimension)
|
||||
dimension.Type = "Distance"
|
||||
|
||||
@@ -6,7 +6,7 @@ def createPageWithSVGTemplate(doc=None):
|
||||
"""Returns a page with an SVGTemplate added on the ActiveDocument"""
|
||||
path = os.path.dirname(os.path.abspath(__file__))
|
||||
templateFileSpec = path + "/TestTemplate.svg"
|
||||
|
||||
|
||||
if not doc:
|
||||
doc = FreeCAD.ActiveDocument
|
||||
|
||||
|
||||
Reference in New Issue
Block a user