From 03748b63602d3a6bdcefc33cde0995b3294fc187 Mon Sep 17 00:00:00 2001 From: Humberto Sanchez II Date: Sat, 8 Jun 2024 14:20:30 -0500 Subject: [PATCH] =?UTF-8?q?[Naming]:=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [] [https://github.com/hasii2011/untanglepyut/issues/79] --- tests/ProjectTestBase.py | 2 +- tests/TestTemplate.py | 49 ------------------- tests/TestUnTangleProjectInformation.py | 10 ++-- tests/untangledemo.py | 4 +- tests/untanglepyut/TestUnTangleOglClass.py | 4 +- tests/untanglepyut/TestUnTangleOglNotes.py | 4 +- tests/untanglepyut/TestUnTangleOglTexts.py | 4 +- tests/untanglepyut/TestUnTangler.py | 6 +-- .../untanglepyut/v10/TestUnTangleOglLinks.py | 12 ++--- .../v10/TestUnTangleSequenceDiagram.py | 6 +-- tests/untanglepyut/v10/TestUnTangleUseCase.py | 8 +-- tests/untanglepyut/v10/TestUnTangler.py | 22 ++++----- .../untanglepyut/v11/TestUnTangleOglLinks.py | 4 +- tests/untanglepyut/v11/TestUnTanglePyut.py | 4 +- .../v11/TestUnTangleSequenceDiagram.py | 4 +- .../v11/TestUnTangleUseCaseDiagram.py | 4 +- 16 files changed, 49 insertions(+), 98 deletions(-) delete mode 100644 tests/TestTemplate.py diff --git a/tests/ProjectTestBase.py b/tests/ProjectTestBase.py index b73fdb7..376740f 100644 --- a/tests/ProjectTestBase.py +++ b/tests/ProjectTestBase.py @@ -9,7 +9,7 @@ TEST_XML_FILENAME: str = 'MultiDocumentProject.xml' -class TestBase(UnitTestBaseW): +class ProjectTestBase(UnitTestBaseW): V10_TEST_FILES_PACKAGE_NAME: str = f'{UnitTestBase.RESOURCES_PACKAGE_NAME}.v10' V11_TEST_FILES_PACKAGE_NAME: str = f'{UnitTestBase.RESOURCES_PACKAGE_NAME}.v11' diff --git a/tests/TestTemplate.py b/tests/TestTemplate.py deleted file mode 100644 index 364d18b..0000000 --- a/tests/TestTemplate.py +++ /dev/null @@ -1,49 +0,0 @@ - -from unittest import TestSuite -from unittest import main as unitTestMain - -from tests.ProjectTestBase import TestBase - -# import the class you want to test here -# from org.pyut.template import template - - -class TestTemplate(TestBase): - """ - You need to change the name of this class to Test`xxxx` - Where `xxxx` is the name of the class that you want to test. - - See existing tests for more information. - """ - - @classmethod - def setUpClass(cls): - super().setUpClass() - - def setUp(self): - super().setUp() - - def tearDown(self): - super().tearDown() - - def testName1(self): - pass - - def testName2(self): - """Another test""" - pass - - -def suite() -> TestSuite: - """You need to change the name of the test class here also.""" - import unittest - - testSuite: TestSuite = TestSuite() - - testSuite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(testCaseClass=TestTemplate)) - - return testSuite - - -if __name__ == '__main__': - unitTestMain() diff --git a/tests/TestUnTangleProjectInformation.py b/tests/TestUnTangleProjectInformation.py index 6485fe6..b265606 100644 --- a/tests/TestUnTangleProjectInformation.py +++ b/tests/TestUnTangleProjectInformation.py @@ -2,13 +2,13 @@ from unittest import TestSuite from unittest import main as unitTestMain -from tests.ProjectTestBase import TestBase +from tests.ProjectTestBase import ProjectTestBase from untanglepyut.Types import ProjectInformation from untanglepyut.UnTangleProjectInformation import UnTangleProjectInformation from untanglepyut.UnsupportedFileTypeException import UnsupportedFileTypeException -class TestUnTangleProjectInformation(TestBase): +class TestUnTangleProjectInformation(ProjectTestBase): """ """ @@ -28,14 +28,14 @@ def testIncorrectExtension(self): unTangleProjectInformation: UnTangleProjectInformation = UnTangleProjectInformation(fqFileName='HokeyXmlFileName.opie') def testV10ProjectInformation(self): - self._testProjectInformation(package=TestBase.V10_TEST_FILES_PACKAGE_NAME, fileName='EmptyDiagram.xml', expectedVersion='10') + self._testProjectInformation(package=ProjectTestBase.V10_TEST_FILES_PACKAGE_NAME, fileName='EmptyDiagram.xml', expectedVersion='10') def testV11ProjectInformation(self): - self._testProjectInformation(package=TestBase.V11_TEST_FILES_PACKAGE_NAME, fileName='EmptyDiagram.xml', expectedVersion='11') + self._testProjectInformation(package=ProjectTestBase.V11_TEST_FILES_PACKAGE_NAME, fileName='EmptyDiagram.xml', expectedVersion='11') def _testProjectInformation(self, package: str, fileName: str, expectedVersion: str): - fqFileName: str = TestBase.getFullyQualifiedResourceFileName(package=package, fileName=fileName) + fqFileName: str = ProjectTestBase.getFullyQualifiedResourceFileName(package=package, fileName=fileName) unTangleProjectInformation: UnTangleProjectInformation = UnTangleProjectInformation(fqFileName=fqFileName) projectInformation: ProjectInformation = unTangleProjectInformation.projectInformation diff --git a/tests/untangledemo.py b/tests/untangledemo.py index 1ad82d0..93935a3 100644 --- a/tests/untangledemo.py +++ b/tests/untangledemo.py @@ -3,9 +3,9 @@ import untangle -from tests.ProjectTestBase import TestBase +from tests.ProjectTestBase import ProjectTestBase -fqFileName = resource_filename(TestBase.RESOURCES_PACKAGE_NAME, 'MultiDocumentProject.xml') +fqFileName = resource_filename(ProjectTestBase.RESOURCES_PACKAGE_NAME, 'MultiDocumentProject.xml') with open(fqFileName, "r") as xmlFile: xmlString: str = xmlFile.read() diff --git a/tests/untanglepyut/TestUnTangleOglClass.py b/tests/untanglepyut/TestUnTangleOglClass.py index b0c8f41..04d6c2d 100644 --- a/tests/untanglepyut/TestUnTangleOglClass.py +++ b/tests/untanglepyut/TestUnTangleOglClass.py @@ -25,7 +25,7 @@ from untanglepyut.UnTangleOglClasses import UnTangleOglClasses -from tests.ProjectTestBase import TestBase +from tests.ProjectTestBase import ProjectTestBase V11_OGL_CLASS_DOCUMENT: str = """ @@ -110,7 +110,7 @@ """ -class TestUnTangleOglClass(TestBase): +class TestUnTangleOglClass(ProjectTestBase): """ Auto generated by the one and only: Gato Malo - Humberto A. Sanchez II diff --git a/tests/untanglepyut/TestUnTangleOglNotes.py b/tests/untanglepyut/TestUnTangleOglNotes.py index e8203e3..c1cf810 100644 --- a/tests/untanglepyut/TestUnTangleOglNotes.py +++ b/tests/untanglepyut/TestUnTangleOglNotes.py @@ -17,7 +17,7 @@ from untanglepyut.UnTangleOglNotes import UnTangleOglNotes -from tests.ProjectTestBase import TestBase +from tests.ProjectTestBase import ProjectTestBase V11_MANY_NOTES_DOCUMENT: str = """ @@ -48,7 +48,7 @@ """ -class TestUnTangleOglNotes(TestBase): +class TestUnTangleOglNotes(ProjectTestBase): """ """ @classmethod diff --git a/tests/untanglepyut/TestUnTangleOglTexts.py b/tests/untanglepyut/TestUnTangleOglTexts.py index ea088fa..a51a9ab 100644 --- a/tests/untanglepyut/TestUnTangleOglTexts.py +++ b/tests/untanglepyut/TestUnTangleOglTexts.py @@ -12,7 +12,7 @@ from untanglepyut.UnTangleOglTexts import UnTangleOglTexts from untanglepyut.XmlVersion import XmlVersion -from tests.ProjectTestBase import TestBase +from tests.ProjectTestBase import ProjectTestBase V10_MANY_TEXTS_DOCUMENT: str = """ @@ -43,7 +43,7 @@ """ -class TestUnTangleOglTexts(TestBase): +class TestUnTangleOglTexts(ProjectTestBase): """ """ diff --git a/tests/untanglepyut/TestUnTangler.py b/tests/untanglepyut/TestUnTangler.py index ef6fdde..27494d7 100644 --- a/tests/untanglepyut/TestUnTangler.py +++ b/tests/untanglepyut/TestUnTangler.py @@ -18,10 +18,10 @@ from untanglepyut.UnTangler import UnTangler from untanglepyut.XmlVersion import XmlVersion -from tests.ProjectTestBase import TestBase +from tests.ProjectTestBase import ProjectTestBase -class TestUnTangler(TestBase): +class TestUnTangler(ProjectTestBase): """ Auto generated by the one and only: Gato Malo – Humberto A. Sanchez II @@ -40,7 +40,7 @@ def tearDown(self): def testLollipopInterfaceMultiImplementor(self): - fqFileName: str = UnitTestBase.getFullyQualifiedResourceFileName(package=TestBase.V11_TEST_FILES_PACKAGE_NAME, + fqFileName: str = UnitTestBase.getFullyQualifiedResourceFileName(package=ProjectTestBase.V11_TEST_FILES_PACKAGE_NAME, fileName='LollipopInterfaceMultiImplementor.xml') untangler: UnTangler = UnTangler(xmlVersion=XmlVersion.V11) diff --git a/tests/untanglepyut/v10/TestUnTangleOglLinks.py b/tests/untanglepyut/v10/TestUnTangleOglLinks.py index 43b74ae..d1b95d9 100644 --- a/tests/untanglepyut/v10/TestUnTangleOglLinks.py +++ b/tests/untanglepyut/v10/TestUnTangleOglLinks.py @@ -25,7 +25,7 @@ from tests.ProjectTestBase import DIAGRAM_NAME_1 from tests.ProjectTestBase import DIAGRAM_NAME_2 from tests.ProjectTestBase import TEST_XML_FILENAME -from tests.ProjectTestBase import TestBase +from tests.ProjectTestBase import ProjectTestBase from untanglepyut.Types import Document from untanglepyut.Types import DocumentTitle @@ -36,7 +36,7 @@ from untanglepyut.UnTangler import UnTangler -class TestUnTangleOglLinks(TestBase): +class TestUnTangleOglLinks(ProjectTestBase): """ """ SIMPLE_DIAGRAM_NAME: DocumentTitle = DocumentTitle('Simple') @@ -44,7 +44,7 @@ class TestUnTangleOglLinks(TestBase): def setUp(self): super().setUp() - self._fqFileName: str = TestBase.getFullyQualifiedResourceFileName(TestBase.V10_TEST_FILES_PACKAGE_NAME, TEST_XML_FILENAME) + self._fqFileName: str = ProjectTestBase.getFullyQualifiedResourceFileName(ProjectTestBase.V10_TEST_FILES_PACKAGE_NAME, TEST_XML_FILENAME) self._mockDC: MagicMock = MagicMock() @@ -52,7 +52,7 @@ def tearDown(self): super().tearDown() def testNoGraphicLinks(self): - fqFileName: str = TestBase.getFullyQualifiedResourceFileName(TestBase.V10_TEST_FILES_PACKAGE_NAME, 'ScaffoldDiagram.xml') + fqFileName: str = ProjectTestBase.getFullyQualifiedResourceFileName(ProjectTestBase.V10_TEST_FILES_PACKAGE_NAME, 'ScaffoldDiagram.xml') untangler: UnTangler = UnTangler(xmlVersion=XmlVersion.V10) untangler.untangleFile(fqFileName) @@ -69,7 +69,7 @@ def testGraphicSimpleLinks(self): def testSimpleInheritance(self): - fqFileName: str = TestBase.getFullyQualifiedResourceFileName(TestBase.V10_TEST_FILES_PACKAGE_NAME, 'SimpleInheritance.xml') + fqFileName: str = ProjectTestBase.getFullyQualifiedResourceFileName(ProjectTestBase.V10_TEST_FILES_PACKAGE_NAME, 'SimpleInheritance.xml') untangler: UnTangler = UnTangler(XmlVersion.V10) untangler.untangleFile(fqFileName=fqFileName) @@ -162,7 +162,7 @@ def testLollipopInterfaceMethodsCreated(self): def testGetAssociationLabelPositions(self): - fqFileName: str = TestBase.getFullyQualifiedResourceFileName(TestBase.V10_TEST_FILES_PACKAGE_NAME, 'SimpleGraphicLinkTest.xml') + fqFileName: str = ProjectTestBase.getFullyQualifiedResourceFileName(ProjectTestBase.V10_TEST_FILES_PACKAGE_NAME, 'SimpleGraphicLinkTest.xml') untangler: UnTangler = UnTangler(XmlVersion.V10) untangler.untangleFile(fqFileName) diff --git a/tests/untanglepyut/v10/TestUnTangleSequenceDiagram.py b/tests/untanglepyut/v10/TestUnTangleSequenceDiagram.py index d87327c..8471ab8 100644 --- a/tests/untanglepyut/v10/TestUnTangleSequenceDiagram.py +++ b/tests/untanglepyut/v10/TestUnTangleSequenceDiagram.py @@ -25,10 +25,10 @@ from untanglepyut.UnTangler import UnTangler -from tests.ProjectTestBase import TestBase +from tests.ProjectTestBase import ProjectTestBase -class TestUnTangleSequenceDiagram(TestBase): +class TestUnTangleSequenceDiagram(ProjectTestBase): """ """ def setUp(self): @@ -96,7 +96,7 @@ def testSDInstanceLifeLineIsCorrect(self): def _retrieveSequenceDiagramDocument(self) -> Document: - fqFileName: str = TestBase.getFullyQualifiedResourceFileName(TestBase.V10_TEST_FILES_PACKAGE_NAME, 'SequenceDiagram.xml') + fqFileName: str = ProjectTestBase.getFullyQualifiedResourceFileName(ProjectTestBase.V10_TEST_FILES_PACKAGE_NAME, 'SequenceDiagram.xml') untangler: UnTangler = UnTangler(XmlVersion.V10) untangler.untangleFile(fqFileName=fqFileName) diff --git a/tests/untanglepyut/v10/TestUnTangleUseCase.py b/tests/untanglepyut/v10/TestUnTangleUseCase.py index 77293f5..17128f3 100644 --- a/tests/untanglepyut/v10/TestUnTangleUseCase.py +++ b/tests/untanglepyut/v10/TestUnTangleUseCase.py @@ -16,10 +16,10 @@ from untanglepyut.UnTangler import UnTangler -from tests.ProjectTestBase import TestBase +from tests.ProjectTestBase import ProjectTestBase -class TestUnTangleUseCase(TestBase): +class TestUnTangleUseCase(ProjectTestBase): """ """ @classmethod @@ -33,7 +33,7 @@ def tearDown(self): super().tearDown() def testUseCaseDiagramNotesTexts(self): - fqFileName: str = TestBase.getFullyQualifiedResourceFileName(TestBase.V10_TEST_FILES_PACKAGE_NAME, 'UseCasesTextNotes.xml') + fqFileName: str = ProjectTestBase.getFullyQualifiedResourceFileName(ProjectTestBase.V10_TEST_FILES_PACKAGE_NAME, 'UseCasesTextNotes.xml') untangler: UnTangler = UnTangler(XmlVersion.V10) untangler.untangleFile(fqFileName=fqFileName) @@ -71,7 +71,7 @@ def testUseCaseDiagramLinks(self): def _retrieveUseCaseDocument(self) -> Document: - fqFileName: str = TestBase.getFullyQualifiedResourceFileName(TestBase.V10_TEST_FILES_PACKAGE_NAME, 'UseCaseDiagram.xml') + fqFileName: str = ProjectTestBase.getFullyQualifiedResourceFileName(ProjectTestBase.V10_TEST_FILES_PACKAGE_NAME, 'UseCaseDiagram.xml') untangler: UnTangler = UnTangler(XmlVersion.V10) untangler.untangleFile(fqFileName=fqFileName) diff --git a/tests/untanglepyut/v10/TestUnTangler.py b/tests/untanglepyut/v10/TestUnTangler.py index 4be21d8..b57e1cd 100644 --- a/tests/untanglepyut/v10/TestUnTangler.py +++ b/tests/untanglepyut/v10/TestUnTangler.py @@ -44,20 +44,20 @@ from untanglepyut.UnTangler import UnTangler -from tests.ProjectTestBase import TestBase +from tests.ProjectTestBase import ProjectTestBase ATM_DIAGRAM_NAME: DocumentTitle = DocumentTitle('Class Diagram') SIMPLE_DIAGRAM_NAME: DocumentTitle = DocumentTitle('Simple') -class TestUnTangler(TestBase): +class TestUnTangler(ProjectTestBase): """ """ def setUp(self): super().setUp() - traversable: Traversable = files(TestBase.V10_TEST_FILES_PACKAGE_NAME) / TEST_XML_FILENAME + traversable: Traversable = files(ProjectTestBase.V10_TEST_FILES_PACKAGE_NAME) / TEST_XML_FILENAME self._fqFileName: str = str(traversable) def tearDown(self): @@ -94,7 +94,7 @@ def testUntangleXml(self): self.assertEqual(2, len(untangler.documents), 'Incorrect number of documents created') def testControlPointsGenerated(self): - fqFileName: str = TestBase.getFullyQualifiedResourceFileName(package=TestBase.V10_TEST_FILES_PACKAGE_NAME, fileName='ATM-Model.xml') + fqFileName: str = ProjectTestBase.getFullyQualifiedResourceFileName(package=ProjectTestBase.V10_TEST_FILES_PACKAGE_NAME, fileName='ATM-Model.xml') untangler: UnTangler = UnTangler(XmlVersion.V10) untangler.untangleFile(fqFileName=fqFileName) @@ -191,7 +191,7 @@ def testPyutMethodsWithParameters(self): def testPyutMethodModifiers(self): - fqFileName: str = TestBase.getFullyQualifiedResourceFileName(TestBase.V10_TEST_FILES_PACKAGE_NAME, 'MultiMethodModifier.xml') + fqFileName: str = ProjectTestBase.getFullyQualifiedResourceFileName(ProjectTestBase.V10_TEST_FILES_PACKAGE_NAME, 'MultiMethodModifier.xml') untangler: UnTangler = UnTangler(XmlVersion.V10) untangler.untangleFile(fqFileName=fqFileName) @@ -253,7 +253,7 @@ def emptyTest(oglClass) -> bool: self._runTest(DIAGRAM_NAME_1, emptyTest) def testUmlNote(self): - fqFileName: str = TestBase.getFullyQualifiedResourceFileName(TestBase.V10_TEST_FILES_PACKAGE_NAME, 'MultiObject.xml') + fqFileName: str = ProjectTestBase.getFullyQualifiedResourceFileName(ProjectTestBase.V10_TEST_FILES_PACKAGE_NAME, 'MultiObject.xml') untangler: UnTangler = UnTangler(XmlVersion.V10) untangler.untangleFile(fqFileName=fqFileName) @@ -271,7 +271,7 @@ def testUmlNote(self): def testMultiLineUmlNote(self): - fqFileName: str = TestBase.getFullyQualifiedResourceFileName(TestBase.V10_TEST_FILES_PACKAGE_NAME, 'MultiLineNote.xml') + fqFileName: str = ProjectTestBase.getFullyQualifiedResourceFileName(ProjectTestBase.V10_TEST_FILES_PACKAGE_NAME, 'MultiLineNote.xml') untangler: UnTangler = UnTangler(XmlVersion.V10) untangler.untangleFile(fqFileName=fqFileName) @@ -290,7 +290,7 @@ def testMultiLineUmlNote(self): def testUmlText(self): - fqFileName: str = TestBase.getFullyQualifiedResourceFileName(TestBase.V10_TEST_FILES_PACKAGE_NAME, 'MultiObject.xml') + fqFileName: str = ProjectTestBase.getFullyQualifiedResourceFileName(ProjectTestBase.V10_TEST_FILES_PACKAGE_NAME, 'MultiObject.xml') untangler: UnTangler = UnTangler(XmlVersion.V10) untangler.untangleFile(fqFileName=fqFileName) @@ -301,7 +301,7 @@ def testUmlText(self): def testOglClassModelUpdated(self): - fqFileName: str = TestBase.getFullyQualifiedResourceFileName(TestBase.V10_TEST_FILES_PACKAGE_NAME, 'ATM-Model.xml') + fqFileName: str = ProjectTestBase.getFullyQualifiedResourceFileName(ProjectTestBase.V10_TEST_FILES_PACKAGE_NAME, 'ATM-Model.xml') untangler: UnTangler = UnTangler(XmlVersion.V10) untangler.untangleFile(fqFileName=fqFileName) @@ -317,7 +317,7 @@ def testOglClassModelUpdated(self): def testOglTextModelUpdated(self): - fqFileName: str = TestBase.getFullyQualifiedResourceFileName(TestBase.V10_TEST_FILES_PACKAGE_NAME, 'MultiLinkDocument.xml') + fqFileName: str = ProjectTestBase.getFullyQualifiedResourceFileName(ProjectTestBase.V10_TEST_FILES_PACKAGE_NAME, 'MultiLinkDocument.xml') untangler: UnTangler = UnTangler(XmlVersion.V10) untangler.untangleFile(fqFileName=fqFileName) @@ -333,7 +333,7 @@ def testOglTextModelUpdated(self): def testOglClassesWithFields(self): - fqFileName: str = TestBase.getFullyQualifiedResourceFileName(TestBase.V10_TEST_FILES_PACKAGE_NAME, 'MultiLinkDocument.xml') + fqFileName: str = ProjectTestBase.getFullyQualifiedResourceFileName(ProjectTestBase.V10_TEST_FILES_PACKAGE_NAME, 'MultiLinkDocument.xml') untangler: UnTangler = UnTangler(XmlVersion.V10) untangler.untangleFile(fqFileName=fqFileName) diff --git a/tests/untanglepyut/v11/TestUnTangleOglLinks.py b/tests/untanglepyut/v11/TestUnTangleOglLinks.py index 029b0e8..9bb4f16 100644 --- a/tests/untanglepyut/v11/TestUnTangleOglLinks.py +++ b/tests/untanglepyut/v11/TestUnTangleOglLinks.py @@ -28,7 +28,7 @@ from untanglepyut.UnTangleOglClasses import UnTangleOglClasses from untanglepyut.UnTangleOglLinks import UnTangleOglLinks -from tests.ProjectTestBase import TestBase +from tests.ProjectTestBase import ProjectTestBase V11_OGL_INTERFACE2_DOCUMENT: str = """ @@ -133,7 +133,7 @@ TEST_LINK_NAME: str = 'has' -class TestUnTangleOglLinks(TestBase): +class TestUnTangleOglLinks(ProjectTestBase): """ Auto generated by the one and only: Gato Malo - Humberto A. Sanchez II diff --git a/tests/untanglepyut/v11/TestUnTanglePyut.py b/tests/untanglepyut/v11/TestUnTanglePyut.py index 9c15ab3..c4b185d 100644 --- a/tests/untanglepyut/v11/TestUnTanglePyut.py +++ b/tests/untanglepyut/v11/TestUnTanglePyut.py @@ -33,7 +33,7 @@ from untanglepyut.UnTanglePyut import ConvolutedPyutSDMessageInformation from untanglepyut.UnTanglePyut import UnTanglePyut -from tests.ProjectTestBase import TestBase +from tests.ProjectTestBase import ProjectTestBase V11_PYUT_CLASS: str = """ @@ -158,7 +158,7 @@ FieldDictionary = NewType('FieldDictionary', Dict[str, PyutField]) -class TestUnTanglePyut(TestBase): +class TestUnTanglePyut(ProjectTestBase): """ """ @classmethod diff --git a/tests/untanglepyut/v11/TestUnTangleSequenceDiagram.py b/tests/untanglepyut/v11/TestUnTangleSequenceDiagram.py index e2406a9..789c3cf 100644 --- a/tests/untanglepyut/v11/TestUnTangleSequenceDiagram.py +++ b/tests/untanglepyut/v11/TestUnTangleSequenceDiagram.py @@ -4,7 +4,7 @@ from untangle import Element from untangle import parse -from tests.ProjectTestBase import TestBase +from tests.ProjectTestBase import ProjectTestBase from ogl.sd.OglSDInstance import OglSDInstance from ogl.sd.OglSDMessage import OglSDMessage @@ -42,7 +42,7 @@ """ -class TestUnTangleSequenceDiagram(TestBase): +class TestUnTangleSequenceDiagram(ProjectTestBase): """ Auto generated by the one and only: Gato Malo - Humberto A. Sanchez II diff --git a/tests/untanglepyut/v11/TestUnTangleUseCaseDiagram.py b/tests/untanglepyut/v11/TestUnTangleUseCaseDiagram.py index ac689fa..d98b311 100644 --- a/tests/untanglepyut/v11/TestUnTangleUseCaseDiagram.py +++ b/tests/untanglepyut/v11/TestUnTangleUseCaseDiagram.py @@ -8,7 +8,7 @@ from ogl.OglActor import OglActor from ogl.OglUseCase import OglUseCase -from tests.ProjectTestBase import TestBase +from tests.ProjectTestBase import ProjectTestBase from untanglepyut.Types import UntangledOglActors from untanglepyut.Types import UntangledOglUseCases @@ -39,7 +39,7 @@ """ -class TestUnTangleUseCaseDiagram(TestBase): +class TestUnTangleUseCaseDiagram(ProjectTestBase): @classmethod def setUpClass(cls):