def test_cluster_check_veritas_vcs(): assert list( veritas_vcs.cluster_check_veritas_vcs( 'minions', PARAMS, { 'node1': SECTION, 'node2': SECTION_HASHES, }, )) == [ Result( state=state.OK, notice='[node1]: running', ), Result( state=state.OK, summary='All nodes OK', ) ]
def test_cluster_check_veritas_vcs(): assert list( veritas_vcs.cluster_check_veritas_vcs( "minions", PARAMS, { "node1": SECTION, "node2": SECTION_HASHES, }, )) == [ Result( state=state.OK, notice="[node1]: running", ), Result( state=state.OK, summary="All nodes OK", ), ]