when running with python3, .content may not come
in pure str() format and python3 is a little more
restrictive with that. but the requests library
will always send back resp.text as a string which
is what Should Contain is looking at
Change-Id: Ic6b02c058d702bdb4192ebe701ac8f68af7158b7
Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
${resp} = RequestsLibrary.Get_Request session ${MODULES_API}
BuiltIn.Log ${resp.content}
BuiltIn.Should_Be_Equal ${resp.status_code} ${200}
- BuiltIn.Should_Contain ${resp.content} ietf-restconf
+ BuiltIn.Should_Contain ${resp.text} ietf-restconf