Merge pull request #4731 from edx/ammar/fix-property-call

Fix property call issue
This commit is contained in:
muhammad-ammar
2014-08-07 15:08:58 +05:00

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
)