def deleteAllCarsPersons(hostname, port, ignore): """delete all car -poeple s in the store using RESTCONF""" UtilLibrary.delete(SettingsLibrary.getCarPersonUrl(hostname, port), "admin", "admin") resp = getPersons(hostname, port, ignore) print("Persons in store after deletion:" + str(resp))
def deleteAllCarsPersons(hostname,port,ignore): UtilLibrary.delete(SettingsLibrary.getCarPersonsUrl(hostname,port),"admin","admin") resp = getPersons(hostname,port,ignore) print("Persons in store after deletion:"+ str(resp))