from eth_rpc_client import Client


def test_get_balance(rpc_server, eth_coinbase):
    client = Client('127.0.0.1', '8545')
    balance = client.get_balance(eth_coinbase)

    assert balance == 1000000000000000000000000L

from eth_rpc_client import Client


def test_get_balance(rpc_server, eth_coinbase):
    client = Client('127.0.0.1', '8545')
    balance = client.get_balance(eth_coinbase)

    assert balance == 1000000000000000000000000L
