Exemplo n.º 1
0
 def setUp(self):
     self.pEntity = createTestEntity()
     self.testRelationShip = createTestRelationship()
     self.testRelationShip.refEntity = createTestEntity()
     self.testRelationShip.code = 'GVD_TestCode'
     self.testRelationShip.entity = self.pEntity
     self.testRelationShip.save()
 def setUp(self):
     self.entity = createTestEntity()
     self.diagram = createTestDiagram()
     self.basic_request = CreateBasicRequest()
     self.prepped_request = CreatePreparedRequest()
     self.auth_request = CreatePreparedAuthRequest()
     
     self.testRelationShip = createTestRelationship()
Exemplo n.º 3
0
    def setUp(self):
        self.entity = createTestEntity()
        self.diagram = createTestDiagram()
        self.basic_request = CreateBasicRequest()
        self.prepped_request = CreatePreparedRequest()
        self.auth_request = CreatePreparedAuthRequest()
        self.auth_request_existent_entity = CreatePreparedExistentEntityAuthRequest(
        )

        self.testRelationShip = createTestRelationship()
Exemplo n.º 4
0
 def setUp(self):
     self.relationship = createTestRelationship()
Exemplo n.º 5
0
    def test_GetDetailsConfigTree_SingleEntry(self):
        testRelationShip = createTestRelationship()
        testRelationShip.save()

        self.assertEqual(len(GetDetailsConfigTree(1)), 1)