def test_is_speaker_false(event, submission, orga_user): assert not is_speaker(orga_user, submission)
def test_is_speaker_true(event, slot, speaker): assert is_speaker(speaker, slot.submission) assert is_speaker(speaker, slot)