The REST login now checks the certificate before it posts the password (#17) and then tells a web page from a refused login (#13); the two login-answer checks moved into _require_login so connect() stays within the function-length limit. #13's REST tests stand in for the switch's certificate, since connect() fetches it before the login.
34 lines
1.3 KiB
JSON
34 lines
1.3 KiB
JSON
{
|
|
"coverage_floor": 54.0,
|
|
"function_complexity": {
|
|
"napalm_procurve/api_client.py::ProcurveApiClient.get_interfaces": 15,
|
|
"napalm_procurve/api_client.py::ProcurveApiClient.get_vlans": 15,
|
|
"napalm_procurve/parsers.py::_parse_procurve_uptime": 11,
|
|
"napalm_procurve/parsers.py::parse_ip_interfaces": 14,
|
|
"napalm_procurve/parsers.py::parse_lldp_neighbors_detail": 16,
|
|
"napalm_procurve/parsers.py::parse_system_info": 18,
|
|
"napalm_procurve/parsers.py::parse_vlans_from_running_config": 11,
|
|
"napalm_procurve/procurve.py::ProcurveDriver._cli_set_interface": 13,
|
|
"napalm_procurve/procurve.py::ProcurveDriver.open": 13,
|
|
"napalm_procurve/procurve.py::ProcurveDriver.set_lag_members": 12
|
|
},
|
|
"function_lines": {
|
|
"napalm_procurve/api_client.py::ProcurveApiClient.get_interfaces": 65,
|
|
"napalm_procurve/api_client.py::ProcurveApiClient.get_vlans": 101,
|
|
"napalm_procurve/parsers.py::parse_ip_interfaces": 58,
|
|
"napalm_procurve/parsers.py::parse_lldp_neighbors_detail": 59,
|
|
"napalm_procurve/parsers.py::parse_system_info": 80,
|
|
"napalm_procurve/parsers.py::parse_vlans_from_running_config": 79,
|
|
"napalm_procurve/procurve.py::_parse_ping_output": 58
|
|
},
|
|
"mypy_relaxed": [
|
|
"napalm_procurve.api_client",
|
|
"napalm_procurve.parsers",
|
|
"napalm_procurve.procurve"
|
|
],
|
|
"python_file_lines": {
|
|
"napalm_procurve/procurve.py": 1387
|
|
},
|
|
"untyped_public": []
|
|
}
|