def test_has_submission_true(event, submission, speaker): assert has_submissions(speaker, submission)
def test_has_submission_false(event, submission, orga_user): assert not has_submissions(orga_user, submission)
def test_has_submission_true(event, submission, speaker): with scope(event=event): assert has_submissions(speaker, submission)