Port of https://gitlab.com/glitchtip/glitchtip-backend/-/blob/v3.4.6/issues/tests/test_tasks.py?ref_type=tags