コード例 #1
0
def test_auth_proto_unknown():
    with pytest.raises(MKGeneralException):
        classic_snmp._auth_proto_for("unknown")
コード例 #2
0
def test_auth_proto(proto, result):
    assert classic_snmp._auth_proto_for(proto) == result