TE-2524 Stop using nose.plugins - LMS 2

This commit is contained in:
Jeremy Bowman
2018-08-01 13:54:06 -04:00
parent e5b88f864f
commit 4e8668d3be
71 changed files with 91 additions and 135 deletions

View File

@@ -15,7 +15,6 @@ from django.urls import reverse
from django.test.client import Client
from django.test.utils import override_settings
from pytz import UTC
from nose.plugins.attrib import attr
from opaque_keys.edx.keys import CourseKey
from six import text_type
@@ -109,7 +108,6 @@ class SysadminBaseTestCase(SharedModuleStoreTestCase):
self.addCleanup(shutil.rmtree, path)
@attr(shard=1)
@override_settings(
MONGODB_LOG=TEST_MONGODB_LOG,
GIT_REPO_DIR=settings.TEST_ROOT / "course_repos_{}".format(uuid4().hex)
@@ -120,6 +118,7 @@ class TestSysAdminMongoCourseImport(SysadminBaseTestCase):
"""
Check that importing into the mongo module store works
"""
shard = 1
@classmethod
def tearDownClass(cls):