Remove skips and wrong fixture sessionworkers

This commit is contained in:
nolash 2021-05-27 20:59:42 +02:00
parent ccd9be194a
commit dd50eaf1ea
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746
2 changed files with 4 additions and 32 deletions

View File

@ -47,7 +47,6 @@ from cic_eth.queue.tx import queue_create
logg = logging.getLogger()
@pytest.mark.skip()
def test_have_account(
default_chain_spec,
custodial_roles,
@ -66,7 +65,6 @@ def test_have_account(
assert t.get() == None
@pytest.mark.skip()
def test_locking(
default_chain_spec,
init_database,
@ -90,7 +88,6 @@ def test_locking(
assert len(r) == 0
@pytest.mark.skip()
def test_tag_account(
default_chain_spec,
init_database,
@ -113,29 +110,6 @@ def test_tag_account(
assert AccountRole.get_address('bar', init_database) == agent_roles['CAROL']
#def test_ready(
# init_database,
# agent_roles,
# eth_rpc,
# ):
#
# api = AdminApi(eth_rpc)
#
# with pytest.raises(InitializationError):
# api.ready()
#
# bogus_account = os.urandom(20)
# bogus_account_hex = '0x' + bogus_account.hex()
#
# api.tag_account('ETH_GAS_PROVIDER_ADDRESS', web3.Web3.toChecksumAddress(bogus_account_hex))
# with pytest.raises(KeyError):
# api.ready()
#
# api.tag_account('ETH_GAS_PROVIDER_ADDRESS', eth_empty_accounts[0])
# api.ready()
@pytest.mark.skip()
def test_tx(
default_chain_spec,
cic_registry,
@ -167,7 +141,7 @@ def test_check_nonce_gap(
eth_signer,
agent_roles,
contract_roles,
celery_worker,
celery_session_worker,
caplog,
):
@ -219,7 +193,7 @@ def test_check_nonce_localfail(
eth_signer,
agent_roles,
contract_roles,
celery_worker,
celery_session_worker,
caplog,
):

View File

@ -25,7 +25,6 @@ from cic_eth.api.api_admin import AdminApi
from cic_eth.eth.gas import cache_gas_data
@pytest.mark.skip()
def test_registry(
eth_rpc,
cic_registry,
@ -39,7 +38,6 @@ def test_registry(
assert r == cic_registry
@pytest.mark.skip()
def test_proxy_do(
default_chain_spec,
eth_rpc,
@ -64,7 +62,7 @@ def test_resend_inplace(
eth_signer,
agent_roles,
contract_roles,
celery_worker,
celery_session_worker,
):
rpc = RPCConnection.connect(default_chain_spec, 'default')
@ -115,7 +113,7 @@ def test_resend_clone(
eth_signer,
agent_roles,
contract_roles,
celery_worker,
celery_session_worker,
):
rpc = RPCConnection.connect(default_chain_spec, 'default')