

def test_speakers(self):
    'Tests speakers which is a TextArrayField'
    data = dict(self.default)
    data['speakers'] = []
    assert (len(verify_video_data(data)) == 0)
    data['speakers'] = ['']
    assert (len(verify_video_data(data)) == 1)
    data['speakers'] = ['Jimmy Discotheque']
    assert (len(verify_video_data(data)) == 0)

dataset/ETHPy150Open pyvideo/steve/tests/test_utils.py TestVerifyVideoData.test_speakers/original