cic-internal-integration/apps/cic-eth/tests/unit/cli/test_cli_celery.py
2021-07-25 22:39:41 +02:00

18 lines
357 B
Python

# 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)