Refactored out full from the lms tests

This commit is contained in:
JonahStanley
2013-06-25 12:57:56 -04:00
parent 982777f547
commit 7fb5f505d6
5 changed files with 12 additions and 12 deletions

View File

@@ -6,6 +6,7 @@ import xmodule.modulestore.django
from courseware.tests.tests import LoginEnrollmentTestCase, TEST_DATA_XML_MODULESTORE
from xmodule.modulestore.django import modulestore
@override_settings(MODULESTORE=TEST_DATA_XML_MODULESTORE)
class WikiRedirectTestCase(LoginEnrollmentTestCase):
def setUp(self):
@@ -16,7 +17,6 @@ class WikiRedirectTestCase(LoginEnrollmentTestCase):
"""Assumes the course is present"""
return [c for c in courses if c.location.course == name][0]
self.full = find_course("full")
self.toy = find_course("toy")
# Create two accounts