

def test_minimum_requirements(self):
    'Tests verifying required fields'
    data = dict(self.default)
    del data['title']
    assert (len(verify_video_data(data)) == 1)
    data = dict(self.default)
    del data['category']
    assert (len(verify_video_data(data)) == 1)
    data = dict(self.default)
    del data['language']
    assert (len(verify_video_data(data)) == 1)
    assert (len(verify_video_data({
        
    })) == 3)

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