Commit 93ad596a authored by Alexandre's avatar Alexandre
Browse files

Write tests based on output

parent 4491ef39
......@@ -108,6 +108,65 @@ tests:
stderr: ''
stdout: "OK\n"
- exe: './homer.py'
name: '--check of a correct DoH with loop on all IPs'
markers:
- 'doh'
- 'check'
args:
- '-v'
- '--check'
- 'https://doh.bortzmeyer.fr'
- 'ressources-pedagogiques.org'
retcode: 0
partstderr: "Connecting to hostname: 2001:41d0:302:2200::180"
partstdout: "OK\n"
- exe: './homer.py'
name: '--check of a correct DoH with loop on all IPs'
markers:
- 'doh'
- 'check'
args:
- '-v'
- '--check'
- 'https://doh.bortzmeyer.fr'
- 'ressources-pedagogiques.org'
retcode: 0
partstderr: "Connecting to hostname: 193.70.85.11"
partstdout: "OK\n"
- exe: './homer.py'
name: '--check of a correct DoT with loop on all IPs'
markers:
- 'dot'
- 'check'
args:
- '-v'
- '--check'
- '--dot'
- 'dot.bortzmeyer.fr'
- 'ressources-pedagogiques.org'
retcode: 0
stderr: ''
partstdout: "Checking \"dot.bortzmeyer.fr\" on 193.70.85.11 ...\nConnecting to ('193.70.85.11', 853) ..."
- exe: './homer.py'
name: '--check of a correct DoT with loop on all IPs'
markers:
- 'dot'
- 'check'
args:
- '-v'
- '--check'
- '--dot'
- 'dot.bortzmeyer.fr'
- 'ressources-pedagogiques.org'
retcode: 0
stderr: ''
partstdout: "Checking \"dot.bortzmeyer.fr\" on 2001:41d0:302:2200::180 ...\nConnecting to ('2001:41d0:302:2200::180', 853, 0, 0) ..."
###############################################################################
......
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