Fix property call issue

This commit is contained in:
Muhammad Ammar
2014-08-07 09:35:08 +00:00
parent 45c2abbb9d
commit 9bdf16d832

View File

@@ -499,7 +499,7 @@ class YouTubeVideoTest(VideoBaseTest):
def _verify_caption_text(self, text):
self.video._wait_for(
lambda: (text in self.video.captions_text()),
lambda: (text in self.video.captions_text),
u'Captions contain "{}" text'.format(text),
timeout=5
)