Пример #1
0
 def test_getEntitiesJSONDiagram_thenReturnEntity(self):
     response = json.loads(
         getEntitiesJSONDiagram(self.basic_request).content)
     tab = response['tables'][0]
     tabName = unicodedata.normalize('NFKD', tab['tableName']).encode(
         'ascii', 'ignore')
     self.assertEqual(self.entity.code, tabName)
Пример #2
0
 def test_getEntitiesJSONDiagram_thenReturnEntity(self):
     response = json.loads(getEntitiesJSONDiagram(self.basic_request).content)
     tab = response['tables'][0]
     tabName = unicodedata.normalize('NFKD', tab['tableName']).encode('ascii', 'ignore')
     self.assertEqual(self.entity.code, tabName)
Пример #3
0
 def test_verifying_diagram_entities_in_database(self):
     response = json.loads(getEntitiesJSONDiagram(self.basic_request).content)
     self.assertTrue(response['success'])
Пример #4
0
 def test_verifying_diagram_entities_in_database(self):
     response = json.loads(
         getEntitiesJSONDiagram(self.basic_request).content)
     self.assertTrue(response['success'])