def test_build_celery_invalid_crontab():
    periodic_conf = {'crontab': '* * * *'}
    with pytest.raises(WorkflowSyntaxError):
        build_celery_schedule('workflow_invalid_crontab', periodic_conf)
def test_build_celery_invalid_crontab():
    periodic_conf = {'crontab': '* * * *'}
    with pytest.raises(WorkflowSyntaxError):
        build_celery_schedule('workflow_invalid_crontab', periodic_conf)