Exemple #1
0
def test_oid_spec_binary(value_eight):
    oid_bin = check_api.BINARY(value_eight)
    assert oid_bin.column == "8"
    assert oid_bin.encoding == "binary"
    assert oid_bin.save_to_cache is False
Exemple #2
0
def test_oid_spec_binary(value_eight):
    oid_bin = check_api.BINARY(value_eight)
    assert isinstance(oid_bin, snmp_utils.OIDBytes)
    assert str(oid_bin) == "8"