TE-2524 Stop using nose.plugins - openedx

This commit is contained in:
Jeremy Bowman
2018-08-02 14:54:44 -04:00
parent 39ccbe3c89
commit c290bf8a07
66 changed files with 114 additions and 158 deletions

View File

@@ -2,7 +2,6 @@
import uuid
import mock
from nose.plugins.attrib import attr
from django.conf import settings
from django.core.urlresolvers import reverse
@@ -60,12 +59,12 @@ class JournalBundleViewTest(CacheIsolationTestCase, SiteMixin):
self.assertContains(response, journal_bundle["courses"][0]["course_runs"][0]["title"])
@attr(shard=1)
@mock.patch.dict(settings.FEATURES, {"JOURNALS_ENABLED": True})
class JournalIndexViewTest(SiteMixin, ModuleStoreTestCase):
"""
Tests for Journals Listing in Marketing Pages.
"""
shard = 1
def setUp(self):
super(JournalIndexViewTest, self).setUp()