mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
Merge pull request #383 from fischman/fischman/speed-up-drafting-test
Speed up pytest execution wall time by ~37%.
This commit is contained in:
commit
fa3139fdeb
1 changed files with 2 additions and 3 deletions
|
|
@ -297,9 +297,8 @@ class ExtensionLineTestCase(unittest.TestCase):
|
|||
|
||||
class TestTechnicalDrawing(unittest.TestCase):
|
||||
def test_basic_drawing(self):
|
||||
with BuildSketch() as drawing:
|
||||
TechnicalDrawing(design_date=date(2023, 9, 17), sheet_number=1)
|
||||
bbox = drawing.sketch.bounding_box()
|
||||
drawing = TechnicalDrawing(design_date=date(2023, 9, 17), sheet_number=1)
|
||||
bbox = drawing.bounding_box()
|
||||
self.assertGreater(bbox.size.X, 280)
|
||||
self.assertGreater(bbox.size.Y, 195)
|
||||
self.assertGreater(len(drawing.faces()), 110)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue