from hive_local_tools import run_for


@run_for('testnet', 'mainnet_5m', 'live_mainnet')
def test_get_witnesses(node):
    witness = node.api.condenser.get_witnesses([0])
    assert len(witness) != 0
