コード例 #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
ファイル: test_check_api.py プロジェクト: a-s-995/checkmk-1
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"