Fix testToSVG (search string was too detailed and therefore OCC version specific)
This commit is contained in:
@ -97,7 +97,7 @@ class TestCadQuery(BaseTest):
|
||||
r_str = r.toSvg()
|
||||
|
||||
# Make sure that a couple of sections from the SVG output make sense
|
||||
self.assertTrue(r_str.index('path d=" M 2.35965 -2.27987 L 4.0114 -3.23936 "') > 0)
|
||||
self.assertTrue(r_str.index('path d="M') > 0)
|
||||
self.assertTrue(r_str.index('line x1="30" y1="-30" x2="58" y2="-15" stroke-width="3"') > 0)
|
||||
|
||||
def testCubePlugin(self):
|
||||
|
Reference in New Issue
Block a user