Commit 879ba955 authored by Alexandre's avatar Alexandre
Browse files

Write tests for DoH POST and HEAD

parent 5d3896d5
......@@ -360,3 +360,35 @@ tests:
partstderr: 'litteral IPv6'
stdout: ''
################################################################################
- exe: './homer.py'
name: '[doh] HEAD and POST'
args:
- '--head'
- '--POST'
- 'https://doh.bortzmeyer.fr'
- 'framagit.org'
retcode: 1
partstderr: 'POST or HEAD'
stdout: ''
- exe: './homer.py'
name: '[doh] POST'
args:
- '--POST'
- 'https://doh.bortzmeyer.fr'
- 'framagit.org'
retcode: 0
stderr: ''
partstdout: '2a01:4f8:'
- exe: './homer.py'
name: '[doh] HEAD'
args:
- '--head'
- 'https://doh.bortzmeyer.fr'
- 'framagit.org'
retcode: 0
stderr: ''
partstdout: 'HEAD'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment