INTTEST-88: Check namespace in response header 75/90675/1
authorKailash Khalasi <kailash.khalasi@gmail.com>
Wed, 24 Jun 2020 17:10:58 +0000 (10:10 -0700)
committerKailash Khalasi <kailash.khalasi@gmail.com>
Wed, 24 Jun 2020 17:12:05 +0000 (10:12 -0700)
Change-Id: Ib23bbd813c29a47a28b2d5629c9238727d39df54
Signed-off-by: Kailash Khalasi <kailash.khalasi@gmail.com>
csit/suites/netconf/notifications/notifications_basic.robot

index 914192dba231465073fe1c9ebe40bc8a8d214de0..adf23f4aa77907b6e454863ca91f0b8686bfda86 100644 (file)
@@ -82,6 +82,8 @@ Check_Subscribtion
     BuiltIn.Should_Contain    ${ALLOWED_STATUS_CODES}    ${resp.status_code}
     ${location} =    XML.Get Element Text    ${resp.content}
     BuiltIn.Log    ${location}
+    BuiltIn.Log    ${resp.headers["Location"]}
+    Should Contain    ${location}    ${resp.headers["Location"]}
     BuiltIn.Set_Suite_Variable    ${location}
 
 Start_Receiver