示例#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)
 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)
 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'])