1. 15 Feb, 2016 1 commit
  2. 28 Jan, 2016 1 commit
  3. 03 Dec, 2015 1 commit
  4. 23 Nov, 2015 1 commit
  5. 19 Nov, 2015 1 commit
  6. 11 Nov, 2015 1 commit
  7. 30 Oct, 2015 1 commit
  8. 26 Aug, 2015 1 commit
  9. 03 Aug, 2015 1 commit
  10. 31 Jul, 2015 1 commit
  11. 30 Jul, 2015 1 commit
  12. 28 Jul, 2015 1 commit
  13. 22 Jul, 2015 1 commit
  14. 20 Jul, 2015 1 commit
  15. 13 Jul, 2015 3 commits
  16. 03 Jun, 2015 1 commit
  17. 29 May, 2015 1 commit
  18. 14 May, 2015 1 commit
  19. 08 May, 2015 2 commits
  20. 30 Apr, 2015 1 commit
  21. 24 Apr, 2015 1 commit
  22. 17 Mar, 2015 2 commits
  23. 14 Mar, 2015 1 commit
  24. 10 Mar, 2015 1 commit
  25. 09 Feb, 2015 1 commit
  26. 04 Feb, 2015 2 commits
    • Better support specifying of modulestore configuration in test cases · b353ed2e
      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
  27. 29 Jan, 2015 1 commit
  28. 15 Jan, 2015 4 commits
  29. 17 Dec, 2014 1 commit
  30. 13 Dec, 2014 1 commit
  31. 05 Dec, 2014 2 commits