Beispiel #1
0
def test_load_node_state():
    Node = get_node_status(cache)
    load_cache_by_type(cache, Node, 'nstate')
    assert len(cache) == 10
Beispiel #2
0
def test_get_node_status():
    Node = get_node_status(cache)
    assert isinstance(Node, dict)
    assert 'status' in Node
    assert 'tcpFallback' in Node
    assert Node['tcpFallback'] is False