def test_build_celery_invalid_schedule():
    cron_schedule = {'crontab': '* * * * 12'}
    with pytest.raises(WorkflowSyntaxError):
        build_celery_schedule('workflow_invalid_crontab', cron_schedule)
def test_build_celery_invalid_schedule():
    cron_schedule = {'crontab': '* * * * 12'}
    with pytest.raises(WorkflowSyntaxError):
        build_celery_schedule('workflow_invalid_crontab', cron_schedule)