

def test_video_ogv_download_only(self):
    'Test BooleanField'
    data = dict(self.default)
    data['video_ogv_download_only'] = True
    assert (len(verify_video_data(data)) == 0)
    data['video_ogv_download_only'] = False
    assert (len(verify_video_data(data)) == 0)
    data['video_ogv_download_only'] = 'True'
    assert (len(verify_video_data(data)) == 1)

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