A test is failing because the below RPC now returns 204:
POST operations/network-topology-pcep:update-lsp
Change-Id: I24fb5821cb194d492ec11c5824991b70c91be868
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
prepend = ''
status = resp_tuple[0]
# print 'DEBUG: verifying status', status
- if status != 200: # is it int?
+ if (status != 200) and (status != 204): # is it int?
# print 'DEBUG:', response.content
prepend = 'status: ' + str(status) + ' '
content = resp_tuple[1]
# print 'DEBUG: verifying content', content
- if prepend or (content != expected):
+ if prepend or (content != expected and content != ''):
return prepend + 'content: ' + str(content)
return 'pass'