Merge pull request #7249 from edx/chrisitna/flaky-test

Add flaky decorator.
This commit is contained in:
Christina Roberts
2015-03-06 13:57:17 -05:00
2 changed files with 4 additions and 0 deletions

View File

@@ -14,6 +14,8 @@ from ...pages.lms.course_info import CourseInfoPage
from ...fixtures.course import CourseFixture, XBlockFixtureDesc
from ..helpers import skip_if_browser
from flaky import flaky
VIDEO_SOURCE_PORT = 8777
@@ -684,6 +686,7 @@ class YouTubeHtml5VideoTest(VideoBaseTest):
def setUp(self):
super(YouTubeHtml5VideoTest, self).setUp()
@flaky # TODO fix this, see TNL-1642
def test_youtube_video_rendering_with_unsupported_sources(self):
"""
Scenario: Video component is rendered in the LMS in Youtube mode

View File

@@ -161,6 +161,7 @@ class VideoTimesTest(VideoBaseTest):
self.assertIn(self.video.position, ('0:35', '0:36'))
@flaky # TODO fix this, see TNL-1619
def test_video_finish_time_with_seek(self):
"""
Scenario: Finish Time works for Youtube video.