X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=test%2Fcsit%2Flibraries%2FCrudLibrary.py;fp=test%2Fcsit%2Flibraries%2FCrudLibrary.py;h=8194bbd0f23337ff622d89a1a0b1c9d0d51977a2;hb=45797a81e6ff5b0c7534c33adce92132a5953ad4;hp=534a47e0b879420d0aec8deaaad1faa10823f35e;hpb=9e22259361e112dd34331260321a6cda0da84576;p=integration.git diff --git a/test/csit/libraries/CrudLibrary.py b/test/csit/libraries/CrudLibrary.py index 534a47e0..8194bbd0 100644 --- a/test/csit/libraries/CrudLibrary.py +++ b/test/csit/libraries/CrudLibrary.py @@ -109,7 +109,7 @@ def addCarPerson(hostname, port, numberOfCarPersons): # Send the POST request REST CONF resp = UtilLibrary.nonprintpost(SettingsLibrary.getAddCarPersonUrl(hostname, port), "admin", "admin", payload) - return + return resp for x in range(1, numberOfCarPersons+1): strId = str(x) @@ -127,8 +127,8 @@ def addCarPerson(hostname, port, numberOfCarPersons): print("getting the car_persons for verification") resp = getCarPersonMappings(hostname, port, 0) - # TBD detailed validation + return resp def buyCar(hostname, port, numberOfCarBuyers, start=0):