Commit 45d32805 authored by Alexandre's avatar Alexandre
Browse files

Print output on stdout instead + new test

parent 50a0c81a
......@@ -333,7 +333,7 @@ class ConnectionDoT(Connection):
if connect is None:
error(f'Could not connect to "{server}"')
else:
error(f'Could not connect to "{server}" on {connect}', exit=False)
print(f'Could not connect to "{server}" on {connect}')
def connect(self, addr, sock_family):
......
......@@ -288,7 +288,20 @@ tests:
- '--dot'
- 'brok.sources.org'
- 'in'
partstderr: 'Could not connect to'
partstdout: 'Could not connect to'
- exe: './homer.py'
name: '[dot][check] Test all IPs on brok.sources.org, get a KO'
timeout: 6
markers:
- 'dot'
- 'check'
args:
- '-k'
- '--check'
- '--dot'
- 'brok.sources.org'
- 'in'
partstdout: "KO\n"
......
Supports Markdown
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