From a4cb82d1487c4f09418d473fb83b4fadaca37c20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Urba=C5=84czyk?= Date: Mon, 10 Jun 2019 20:35:23 +0200 Subject: [PATCH] Use a different font for testing This is a dummy PR to investigate build issues on azure --- tests/TestCadQuery.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)