Merge pull request #4083 from edx/alex/fix_syntax_error_in_video_player_test

Fix incorrect video bok choy test.
This commit is contained in:
Alexander Kryklia
2014-06-13 11:24:12 +03:00

View File

@@ -276,7 +276,8 @@ class YouTubeVideoTest(VideoBaseTest):
Then I see the correct english text in the captions
"""
self._install_course_fixture()
self.course_fixture._upload_assets(['subs_OEoXaMPEzfM.srt.sjson'])
self.course_fixture.add_asset(['subs_OEoXaMPEzfM.srt.sjson'])
self.course_fixture._upload_assets()
self._navigate_to_courseware_video_and_render()
self.video.show_captions()