Commit 9bdf16d8 by Muhammad Ammar

Fix property call issue

parent 45c2abbb
...@@ -499,7 +499,7 @@ class YouTubeVideoTest(VideoBaseTest): ...@@ -499,7 +499,7 @@ class YouTubeVideoTest(VideoBaseTest):
def _verify_caption_text(self, text): def _verify_caption_text(self, text):
self.video._wait_for( self.video._wait_for(
lambda: (text in self.video.captions_text()), lambda: (text in self.video.captions_text),
u'Captions contain "{}" text'.format(text), u'Captions contain "{}" text'.format(text),
timeout=5 timeout=5
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment