- 04 Feb, 2015 2 commits
-
-
The existing pattern of using `override_settings(MODULESTORE=...)` prevented us from having more than one layer of subclassing in modulestore tests. In a structure like: @override_settings(MODULESTORE=store_a) class BaseTestCase(ModuleStoreTestCase): def setUp(self): # use store @override_settings(MODULESTORE=store_b) class ChildTestCase(BaseTestCase): def setUp(self): # use store In this case, the store actions performed in `BaseTestCase` on behalf of `ChildTestCase` would still use `store_a`, even though the `ChildTestCase` had specified to use `store_b`. This is because the `override_settings` decorator would be the innermost wrapper around the `BaseTestCase.setUp` method, no matter what `ChildTestCase` does. To remedy this, we move the call to `override_settings` into the `ModuleStoreTestCase.setUp` method, and use a cleanup to remove the override. Subclasses can just defined the `MODULESTORE` class attribute to specify which modulestore to use _for the entire `setUp` chain_. [PLAT-419]
Calen Pennington committed -
Calen Pennington committed
-
- 02 Feb, 2015 1 commit
-
-
Calen Pennington committed
-
- 30 Jan, 2015 1 commit
-
-
Awais committed
-
- 16 Jan, 2015 1 commit
-
-
Internationalize error messages for password reset on the new login page.
Will Daly committed
-
- 15 Jan, 2015 8 commits
-
-
Daniel Friedman committed
-
Andy Armstrong committed
-
cahrens committed
-
cahrens committed
-
cahrens committed
-
TNL-651
Andy Armstrong committed -
jsa committed
-
jsa committed
-
- 13 Jan, 2015 1 commit
-
-
Carlos Andrés Rocha committed
-
- 08 Jan, 2015 1 commit
-
-
TNL-498
muhammad-ammar committed
-
- 05 Jan, 2015 1 commit
-
-
AlasdairSwan committed
-
- 02 Jan, 2015 1 commit
-
-
Braden MacDonald committed
-
- 26 Dec, 2014 1 commit
-
-
Alan Boudreault committed
-
- 15 Dec, 2014 2 commits
- 12 Dec, 2014 1 commit
-
-
Christine Lytwynec committed
-
- 10 Dec, 2014 1 commit
-
-
TNL-735
Daniel Friedman committed
-
- 08 Dec, 2014 1 commit
-
-
Andy Armstrong committed
-
- 05 Dec, 2014 4 commits
-
-
JIRA: TNL-937
jsa committed -
TNL-670
Andy Armstrong committed -
JIRA: TNL-710 IMPORTANT: this commit converts the course_groups package to using migrations. When deploying to an existing openedx instance, migration 0001 may fail with an error indicating that the CourseUserGroup table already exists. If this happens, running the 0001 migration first, with the --fake option, is recommended. After performing this step, remaining migrations should work as expected.
jsa committed -
TNL-649
Andy Armstrong committed
-