Example #1
0
 def test_DeleteApplication_successful(self):
     applicationId = "430678"
     tropoTest = TropoProvisioning()
     response = tropoTest.delete_application(applicationId, data_format.JSON)
     print response
     result = "delete successful"
     self.assertEqual(response, result)
Example #2
0
 def test_DeleteApplication_failed(self):
     applicationId = "43067112"
     tropoTest = TropoProvisioning()
     response = tropoTest.delete_application(applicationId, data_format.JSON)
     print response
     result = response.find("failed")
     self.assertNotEqual(result, -1)
Example #3
0
 def test_DeleteApplication_failed(self):
     applicationId = "43067112"
     tropoTest = TropoProvisioning()
     response = tropoTest.delete_application(applicationId,
                                             data_format.JSON)
     print response
     result = response.find("failed")
     self.assertNotEqual(result, -1)
Example #4
0
 def test_DeleteApplication_successful(self):
     applicationId = "430678"
     tropoTest = TropoProvisioning()
     response = tropoTest.delete_application(applicationId,
                                             data_format.JSON)
     print response
     result = "delete successful"
     self.assertEqual(response, result)
def testDeleteApplication(username, password, url):
    applicationId = "427728"
    tropoTest = TropoProvisioning()
    print tropoTest.delete_application(applicationId)