[TechDraw] Make section view test a unittest

This commit is contained in:
Benjamin Bræstrup Sayoc
2022-07-27 16:10:02 +02:00
committed by WandererFan
parent 937d19c4ad
commit 886c1415d8
4 changed files with 53 additions and 70 deletions

View File

@@ -26,10 +26,10 @@ from TDTest.DrawHatchTest import DrawHatchTest # noqa: F401
from TDTest.DrawViewAnnotationTest import DrawViewAnnotationTest # noqa: F401
from TDTest.DrawViewDimensionTest import DrawViewDimensionTest # noqa: F401
from TDTest.DrawViewImageTest import DrawViewImageTest # noqa: F401
from TDTest.DrawViewSectionTest import DrawViewSectionTest # noqa: F401
from TDTest.DrawViewSymbolTest import DrawViewSymbolTest # noqa: F401
from TDTest.DrawViewPartTest import DrawViewPartTest # noqa: F401
from TDTest.DProjGroupTest import DProjGroupTest
from TDTest.DVSectionTest import DVSectionTest
from TDTest.DVBalloonTest import DVBalloonTest
# ---------------------------------------------------------------------------
@@ -46,14 +46,6 @@ class TechDrawTestCases(unittest.TestCase):
else:
print("TD DrawProjGroup test failed")
def testSectionCase(self):
print("starting TD DrawViewSection test")
rc = DVSectionTest()
if rc:
print("TD DrawViewSection test passed")
else:
print("TD DrawViewSection test failed")
def testBalloonCase(self):
print("starting TD DrawViewBalloon test")
rc = DVBalloonTest()