cic-internal-integration/apps/cic-eth/tests/unit/cli/test_cli_celery.py

18 lines
357 B
Python
Raw Normal View History

2021-07-25 22:39:41 +02:00
# standard imports
import tempfile
# local imports
import cic_eth.cli
def test_cli_celery():
cf = tempfile.mkdtemp()
config = {
'CELERY_RESULT_URL': 'filesystem://' + cf,
}
cic_eth.cli.CeleryApp.from_config(config)
config['CELERY_BROKER_URL'] = 'filesystem://' + cf
cic_eth.cli.CeleryApp.from_config(config)