def test_video_loaded_load(self): v = Video('http://www.jeuxvideo.com/foo') v.json = 'json was loaded already' expected = True actual = v.loaded() self.assertEqual(actual, expected)
def test_video_loaded_load(self): v = Video('http://www.jeuxvideo.com/foo') expected = False actual = v.loaded() self.assertEqual(actual, expected)