Skip to content

Commit

Permalink
fix infura mocked_client tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vepkenez committed Jul 17, 2019
1 parent ebf64ce commit 226e2d3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/blockchain/eth/clients/test_mocked_clients.py
Expand Up @@ -119,15 +119,15 @@ def test_infura_web3_client():
interface.connect(fetch_registry=False, sync_now=False)

assert isinstance(interface.client, InfuraClient)
assert interface.node_technology == 'Geth'
assert interface.node_version == 'v1.8.23-omnibus-2ad89aaa'
assert interface.platform == 'linux-amd64'
assert interface.backend == 'go1.11.1'

assert interface.is_local is False
assert interface.chain_id == 5
assert interface.client.node_technology == 'Geth'
assert interface.client.node_version == 'v1.8.23-omnibus-2ad89aaa'
assert interface.client.platform == 'linux-amd64'
assert interface.client.backend == 'go1.11.1'
assert interface.client.is_local is False
assert interface.client.chain_id == 5

assert interface.unlock_account('address', 'password') # should return True
assert interface.client.unlock_account('address', 'password') # should return True


def test_parity_web3_client():
Expand Down

0 comments on commit 226e2d3

Please sign in to comment.