Merge pull request #18739 from edx/jmbowman/TE-2525

TE-2525 Finish removing nose.tools usage
This commit is contained in:
Jeremy Bowman
2018-08-09 15:56:28 -04:00
committed by GitHub
17 changed files with 178 additions and 122 deletions

View File

@@ -18,9 +18,10 @@ from logging import getLogger
# it to get the correct value
import lettuce.django
from lettuce import step, world
from nose.tools import assert_equals # pylint: disable=no-name-in-module
from opaque_keys.edx.keys import CourseKey
from openedx.core.lib.tests.tools import assert_equals # pylint: disable=no-name-in-module
from .course_helpers import *
from .ui_helpers import *

View File

@@ -12,7 +12,6 @@ from urllib import quote_plus
# it to get the correct value
import lettuce.django
from lettuce import world
from nose.tools import assert_true
from selenium.common.exceptions import (
InvalidElementStateException,
StaleElementReferenceException,
@@ -23,6 +22,8 @@ from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.ui import WebDriverWait
from openedx.core.lib.tests.tools import assert_true
GLOBAL_WAIT_FOR_TIMEOUT = 60
REQUIREJS_WAIT = {