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'])