1. 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
  2. 28 Jan, 2015 1 commit
  3. 15 Jan, 2015 1 commit
  4. 09 Jan, 2015 3 commits
  5. 15 Dec, 2014 1 commit
  6. 12 Dec, 2014 1 commit
  7. 02 Dec, 2014 1 commit
  8. 01 Dec, 2014 1 commit
  9. 30 Nov, 2014 1 commit
  10. 04 Nov, 2014 1 commit
  11. 16 Sep, 2014 1 commit
  12. 22 Aug, 2014 1 commit
  13. 06 Aug, 2014 1 commit
  14. 04 Aug, 2014 1 commit
  15. 10 Jul, 2014 2 commits
  16. 26 Jun, 2014 1 commit
  17. 22 May, 2014 1 commit
  18. 09 May, 2014 1 commit
  19. 05 Mar, 2014 1 commit
  20. 28 Feb, 2014 2 commits
  21. 11 Feb, 2014 1 commit
  22. 04 Feb, 2014 1 commit
  23. 16 Jan, 2014 1 commit
  24. 14 Jan, 2014 1 commit
    • Introduction of the Microsite feature which allows for limited multi-tenant… · a3211a74
      Introduction of the Microsite feature which allows for limited multi-tenant branding on a subdomain basis, e.g. foo.edx.org and bar.edx.org
      
      fix errorenous logic when running a microsite that could reside in a hosting environment with a marketing site in front of it
      
      pep8/pylint fixes
      
      address PR feedback, remove underscore from test hostname
      
      more pep8/pylint cleanup. Skip test_microsites test, it works on localdev, not on Jenkins. Need to talk with QA team
      
      manually add Ned's single-to-double quote fix
      
      change aws.py runtimes so that the microsite_dir that is read from configuration is changed to a python path
      
      Conflicts:
      	lms/templates/help_modal.html
      Chris Dodge committed
  25. 10 Jan, 2014 1 commit
  26. 15 Dec, 2013 1 commit
  27. 03 Dec, 2013 2 commits
  28. 23 Nov, 2013 1 commit
  29. 08 Oct, 2013 1 commit
  30. 23 Sep, 2013 2 commits
  31. 12 Sep, 2013 1 commit
  32. 16 Aug, 2013 1 commit
  33. 05 Aug, 2013 1 commit