コード例 #1
0
def test_is_speaker_false(event, submission, orga_user):
    assert not is_speaker(orga_user, submission)
コード例 #2
0
def test_is_speaker_true(event, slot, speaker):
    assert is_speaker(speaker, slot.submission)
    assert is_speaker(speaker, slot)