def test_auth_proto_unknown(): with pytest.raises(MKGeneralException): classic_snmp._auth_proto_for("unknown")
def test_auth_proto(proto, result): assert classic_snmp._auth_proto_for(proto) == result