from hive_local_tools import run_for


@run_for('testnet', 'mainnet_5m', 'live_mainnet')
def test_get_block(node):
    head_block_number = node.api.condenser.get_dynamic_global_properties()['head_block_number']
    node.api.condenser.get_block(head_block_number)
