TE-2525 nose.tools removal part 1/2
This commit is contained in:
committed by
Jeremy Bowman
parent
70d1ca4740
commit
bcaec3c5bb
@@ -6,7 +6,7 @@ import datetime
|
||||
from unittest import skip
|
||||
from uuid import uuid4
|
||||
|
||||
from nose.tools import nottest
|
||||
import pytest
|
||||
from pytz import UTC
|
||||
|
||||
from common.test.acceptance.fixtures.course import CourseFixture, XBlockFixtureDesc
|
||||
@@ -1052,9 +1052,8 @@ class InlineDiscussionTest(UniqueCourseTest):
|
||||
self.discussion_page = InlineDiscussionPage(self.browser, self.discussion_id)
|
||||
self.additional_discussion_page = InlineDiscussionPage(self.browser, self.additional_discussion_id)
|
||||
|
||||
# This test is too flaky to run at all. TNL-6215
|
||||
@attr('a11y')
|
||||
@nottest
|
||||
@pytest.mark.skip(reason='This test is too flaky to run at all. TNL-6215')
|
||||
def test_inline_a11y(self):
|
||||
"""
|
||||
Tests Inline Discussion for accessibility issues.
|
||||
|
||||
@@ -5,7 +5,6 @@ Acceptance tests for Studio related to course reruns.
|
||||
import random
|
||||
|
||||
from bok_choy.promise import EmptyPromise
|
||||
from nose.tools import assert_in
|
||||
|
||||
from base_studio_test import StudioCourseTest
|
||||
from common.test.acceptance.fixtures.course import XBlockFixtureDesc
|
||||
@@ -85,7 +84,7 @@ class CourseRerunTest(StudioCourseTest):
|
||||
|
||||
EmptyPromise(finished_processing, "Rerun finished processing", try_interval=5, timeout=60).fulfill()
|
||||
|
||||
assert_in(course_run, self.dashboard_page.course_runs)
|
||||
assert course_run in self.dashboard_page.course_runs
|
||||
self.dashboard_page.click_course_run(course_run)
|
||||
|
||||
outline_page = CourseOutlinePage(self.browser, *course_info)
|
||||
|
||||
Reference in New Issue
Block a user