We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce28ef9 commit 4ff78b4Copy full SHA for 4ff78b4
1 file changed
src/apps/competitions/tests/test_submissions.py
@@ -247,7 +247,8 @@ def __init__(self):
247
task = Task()
248
celery_app.return_value = task
249
mock_sassy.return_value = ''
250
- run_submission(submission.pk)
+ with self.captureOnCommitCallbacks(execute=True):
251
+ run_submission(submission.pk)
252
return celery_app
253
254
def test_making_submission_creates_parent_sub_and_additional_sub_per_task(self):
0 commit comments