Example #1
0
 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)
Example #2
0
 def test_video_loaded_load(self):
   v = Video('http://www.jeuxvideo.com/foo')
   expected = False
   actual = v.loaded()
   self.assertEqual(actual, expected)