示例#1
0
def test_oid_spec_cached(value_eight):
    oid_cached = check_api.CACHED_OID(value_eight)
    assert oid_cached.column == "8"
    assert oid_cached.encoding == "string"
    assert oid_cached.save_to_cache is True
示例#2
0
def test_oid_spec_cached(value_eight):
    oid_cached = check_api.CACHED_OID(value_eight)
    assert isinstance(oid_cached, snmp_utils.OIDCached)
    assert str(oid_cached) == "8"