def test_getDefaultDiagramThenThrowException(self):
     response = json.loads(getDefaultDiagram(self.auth_request).content)
     self.assertFalse(response['success'])
 def test_getDefaultDiagramThenCreateANewOne(self):
     self.project = createTestProject()
     response = json.loads(getDefaultDiagram(self.auth_request).content)
     self.project.delete()
     self.assertTrue(response['success'])
 def test_getDefaultDiagram(self):
     response = json.loads(getDefaultDiagram(self.auth_request).content)
     self.assertTrue(response['success'])
示例#4
0
 def test_getDefaultDiagramThenThrowException(self):
     response = json.loads(getDefaultDiagram(self.auth_request).content)
     self.assertFalse(response['success'])
示例#5
0
 def test_getDefaultDiagramThenCreateANewOne(self):
     self.project = createTestProject()
     response = json.loads(getDefaultDiagram(self.auth_request).content)
     self.project.delete()
     self.assertTrue(response['success'])
示例#6
0
 def test_getDefaultDiagram(self):
     response = json.loads(getDefaultDiagram(self.auth_request).content)
     self.assertTrue(response['success'])