refs #812 Adds mask to some modify tests, changes response outpur parameter to message
testing/og-dhcp-API/pipeline/head There was a failure building this commit
Details
testing/og-dhcp-API/pipeline/head There was a failure building this commit
Details
parent
cb365ad2a2
commit
8cd46a3d3e
|
@ -50,7 +50,6 @@ Get All Subnets
|
|||
FOR ${subred} IN @{json['message']}
|
||||
Dictionary Should Contain Key ${subred} id
|
||||
Dictionary Should Contain Key ${subred} subnet
|
||||
Dictionary Should Contain Key ${subred} boot-file-name
|
||||
END
|
||||
|
||||
Post a new subnet
|
||||
|
@ -143,7 +142,7 @@ Modify subnet with error to save configuration
|
|||
[Documentation] Este test verifica que la modificación falla cuando hay un error al guardar la configuración en Kea DHCP.
|
||||
[Tags] subnets
|
||||
${headers}= Create Dictionary Content-Type=application/json
|
||||
${modificar_subred}= Create Dictionary subnet="192.168.1.0/24" nextServer="192.168.1.1" bootFileName="pxelinux.0"
|
||||
${modificar_subred}= Create Dictionary subnet="192.168.1.0" mask="255.255.255.0" nextServer="192.168.1.1" bootFileName="pxelinux.0"
|
||||
${response}= PUT ${BASE_URL}/subnets/${subnet_error} json=${modificar_subred} headers=${headers} expected_status=400
|
||||
|
||||
# Verificar código de estado HTTP
|
||||
|
@ -170,7 +169,7 @@ Modify subnet with invalid configuration address without netmask
|
|||
# Verificar que la respuesta contiene el error esperado
|
||||
Should Be Equal ${json['error']} La máscara de red es requerida con el parametro 'address'
|
||||
|
||||
Modify subnet with invalid configuration netmask without addres
|
||||
Modify subnet with invalid configuration netmask without address
|
||||
[Documentation] Este test verifica que la modificación falla cuando hay un error en la configuración de Kea DHCP.
|
||||
[Tags] subnets
|
||||
${headers}= Create Dictionary Content-Type=application/json
|
||||
|
|
Loading…
Reference in New Issue