From 72651e64ad5d8e7bacc06e37aa46762c1aa9f79a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Andr=C3=A9s=20Rocha?= Date: Tue, 16 Sep 2014 16:53:57 -0400 Subject: [PATCH] Modify notification_pref tests to avoid changes to module store Calling the client root was causing the module store to be modified, affecting test in other Django applications that rely on the default state of the module store. --- lms/djangoapps/notification_prefs/tests.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lms/djangoapps/notification_prefs/tests.py b/lms/djangoapps/notification_prefs/tests.py index d2d245c35a..2a12f70047 100644 --- a/lms/djangoapps/notification_prefs/tests.py +++ b/lms/djangoapps/notification_prefs/tests.py @@ -20,11 +20,6 @@ from util.testing import UrlResetMixin class NotificationPrefViewTest(UrlResetMixin, TestCase): INITIALIZATION_VECTOR = "\x00" * 16 - @classmethod - def setUpClass(cls): - # Make sure global state is set up appropriately - Client().get("/") - @patch.dict("django.conf.settings.FEATURES", {"ENABLE_DISCUSSION_SERVICE": True}) def setUp(self): super(NotificationPrefViewTest, self).setUp()