Ejemplo n.º 1
0
def test_task_invalid_args():
    assert_raises(TypeError, lambda:
                  celery.task('arg1', 'arg2'))
def test_task_invalid_args():
    assert_raises(TypeError, lambda: celery.task('arg1', 'arg2'))
Ejemplo n.º 3
0
def test_bad_decorator_use():
    assert_raises(TypeError, lambda: celery.task(None))
def test_bad_decorator_use():
    assert_raises(TypeError, lambda: celery.task(None))