def test_AddTollFreeNumber(self): applicationId = "430603" prefix = "1866" tropoTest = TropoProvisioning() response = tropoTest.add_tollFree_number(applicationId, prefix, data_format.JSON) print "Response = %s"% response result = response.find("+1866") self.assertNotEqual(result, -1)
def test_AddTollFreeNumber(self): applicationId = "430603" prefix = "1866" tropoTest = TropoProvisioning() response = tropoTest.add_tollFree_number(applicationId, prefix, data_format.JSON) print "Response = %s" % response result = response.find("+1866") self.assertNotEqual(result, -1)
def testAddTollFreeNumber(username, password, url): ''' Need to have production account but its working on a staging account. ''' applicationId = "427278" prefix = "1866" tropoTest = TropoProvisioning() print tropoTest.add_tollFree_number(applicationId, prefix, data_format.JSON) prefix = "1866" tropoTest = TropoProvisioning() print tropoTest.add_tollFree_number(applicationId, prefix, data_format.XML) prefix = "1866" tropoTest = TropoProvisioning() print tropoTest.add_tollFree_number(applicationId, prefix, data_format.FORM_ENCODED)