from hive_local_tools import run_for


@run_for('testnet', 'mainnet_5m', 'live_mainnet')
def test_get_witnesses_by_vote(node):
    response = node.api.condenser.get_witnesses_by_vote('', 100)
    assert len(response) != 0
