cic-internal-integration/apps/cic-eth/tests/unit/admin/test_default_token.py

22 lines
424 B
Python
Raw Permalink Normal View History

# external imports
import celery
def test_default_token(
default_token,
celery_session_worker,
foo_token,
foo_token_symbol,
):
s = celery.signature(
2021-10-14 15:24:51 +02:00
'cic_eth.eth.erc20.default_token',
[],
queue=None,
)
t = s.apply_async()
r = t.get()
assert r['address'] == foo_token
assert r['symbol'] == foo_token_symbol