Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
DNS testing tools
Remoh
Commits
d8dfc1a3
Commit
d8dfc1a3
authored
Mar 11, 2020
by
Alexandre
Browse files
New test on name or IP exception
parent
705ab6ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
homer.py
View file @
d8dfc1a3
...
...
@@ -662,7 +662,7 @@ except TimeoutError:
except
ConnectionRefusedError
:
error
(
"Connection to server refused"
)
except
ValueError
:
error
(
f
'"
{
url
}
" not a
n
name or an IP address'
)
error
(
f
'"
{
url
}
" not a name or an IP address'
)
except
CustomException
as
e
:
error
(
e
)
if
ifile
is
not
None
:
...
...
tests.yaml
View file @
d8dfc1a3
...
...
@@ -39,6 +39,17 @@ tests:
stderr
:
'
'
partstdout
:
'
2a01:4f8:'
-
exe
:
'
./homer.py'
markers
:
-
'
exception'
args
:
-
'
--dot'
-
'
https//doh.bortzmeyer.fr'
-
'
framagit.org'
retcode
:
1
partstderr
:
'
not
a
name
or'
stdout
:
'
'
###############################################################################
-
exe
:
'
./homer.py'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment