Commit b5ac5a34 authored by Jorge Moratinos's avatar Jorge Moratinos
Browse files

Check location header hostname

parent e955e835
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -58,6 +58,7 @@ Check Location Header
    ${event_url}=    Parse Url    ${resp.headers['Location']}
    ${event_url}=    Parse Url    ${resp.headers['Location']}


    Should Match Regexp    ${event_url.path}    ${regular_expression}
    Should Match Regexp    ${event_url.path}    ${regular_expression}
    Should Match Regexp    ${event_url.netloc}   ^${CAPIF_HOSTNAME}(:[0-9]+)?$
    RETURN    ${event_url}
    RETURN    ${event_url}


Check Event Location Header
Check Event Location Header