zonemaster-engine
zonemaster-engine copied to clipboard
Fixes broken handling of return codes from ASN lookup
Purpose
The the test case specification of CONNECTIVITY03 it specified that certain errors in the lookup responses should be handled by the test case. That was halfway implemented. The return codes were never sent to the test case code. This PR fixes that.
Changes
How to test this PR
Erroneous response from a ASN database must be created. Unit tests will be added to this PR.
The return codes were never sent to the test case code.
They were before I implemented #1207. I see I forgot to return $ret_code
.
This looks good to me. If you think it's ready and mark it as such I'll approve it.
They were before I implemented #1207. I see I forgot to return
$ret_code
. This looks good to me. If you think it's ready and mark it as such I'll approve it.
I will try to do some testing first, and then I will make it ready.
@matsduf I think this draft can be closed. It was handled by #1219 (in v2023.1).