Task that simply raises ExpectedException.
(*args)
| 453 | |
| 454 | @shared_task |
| 455 | def fail(*args): |
| 456 | """Task that simply raises ExpectedException.""" |
| 457 | args = ("Task expected to fail",) + args |
| 458 | raise ExpectedException(*args) |
| 459 | |
| 460 | |
| 461 | @shared_task() |
nothing calls this directly
no test coverage detected