diff --git a/tests/TestCadQuery.py b/tests/TestCadQuery.py index 45ddbd6b6..b5633fbfa 100644 --- a/tests/TestCadQuery.py +++ b/tests/TestCadQuery.py @@ -1836,13 +1836,13 @@ def testText(self): box = Workplane("XY" ).box(4, 4, 0.5) obj1 = box.faces('>Z').workplane()\ - .text('CQ 2.0',0.5,-.05,cut=True,halign='left',valign='bottom') + .text('CQ 2.0',0.5,-.05,cut=True,halign='left',valign='bottom', font='Sans') #combined object should have smaller volume self.assertGreater(box.val().Volume(),obj1.val().Volume()) obj2 = box.faces('>Z').workplane()\ - .text('CQ 2.0',0.5,.05,cut=False,combine=True) + .text('CQ 2.0',0.5,.05,cut=False,combine=True, font='Sans') #combined object should have bigger volume self.assertLess(box.val().Volume(),obj2.val().Volume()) @@ -1851,7 +1851,7 @@ def testText(self): self.assertEqual(len(obj2.faces('>Z').vals()),5) obj3 = box.faces('>Z').workplane()\ - .text('CQ 2.0',0.5,.05,cut=False,combine=False,halign='right',valign='top') + .text('CQ 2.0',0.5,.05,cut=False,combine=False,halign='right',valign='top', font='Sans') #verify that the number of solids is correct self.assertEqual(len(obj3.solids().vals()),5)