1. 07 May, 2015 1 commit
  2. 17 Mar, 2015 1 commit
  3. 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
  4. 22 Jan, 2015 1 commit
  5. 15 Jan, 2015 1 commit
  6. 13 Dec, 2014 1 commit
  7. 02 Dec, 2014 1 commit
  8. 04 Nov, 2014 1 commit
  9. 24 Sep, 2014 1 commit
  10. 17 Sep, 2014 1 commit
  11. 16 Sep, 2014 1 commit
  12. 02 Sep, 2014 1 commit
  13. 29 Aug, 2014 1 commit
  14. 20 Aug, 2014 1 commit
  15. 10 Jul, 2014 1 commit
    • Update tests to allow LMS tests to use published branch setting. · 8855b12b
      Conflicts:
      	cms/djangoapps/contentstore/views/tests/test_container_page.py
      	common/djangoapps/external_auth/tests/test_shib.py
      	common/djangoapps/student/tests/test_login.py
      	common/lib/xmodule/xmodule/modulestore/tests/django_utils.py
      	common/lib/xmodule/xmodule/modulestore/tests/factories.py
      	common/lib/xmodule/xmodule/modulestore/xml_importer.py
      	lms/djangoapps/branding/tests.py
      	lms/djangoapps/courseware/tests/test_submitting_problems.py
      	lms/djangoapps/courseware/tests/test_video_handlers.py
      	lms/djangoapps/instructor_task/tests/test_base.py
      	lms/djangoapps/instructor_task/tests/test_integration.py
      Nimisha Asthagiri committed
  16. 27 Jun, 2014 1 commit
  17. 26 Jun, 2014 1 commit
  18. 20 Jun, 2014 1 commit
  19. 30 May, 2014 1 commit
  20. 24 May, 2014 2 commits
  21. 12 May, 2014 2 commits
  22. 06 May, 2014 1 commit
    • Make course ids and usage ids opaque to LMS and Studio [partial commit] · 9811926d
      This commit updates lms/djangoapps/courseware.
      
      These keys are now objects with a limited interface, and the particular
      internal representation is managed by the data storage layer (the
      modulestore).
      
      For the LMS, there should be no outward-facing changes to the system.
      The keys are, for now, a change to internal representation only. For
      Studio, the new serialized form of the keys is used in urls, to allow
      for further migration in the future.
      
      Co-Author: Andy Armstrong <andya@edx.org>
      Co-Author: Christina Roberts <christina@edx.org>
      Co-Author: David Baumgold <db@edx.org>
      Co-Author: Diana Huang <dkh@edx.org>
      Co-Author: Don Mitchell <dmitchell@edx.org>
      Co-Author: Julia Hansbrough <julia@edx.org>
      Co-Author: Nimisha Asthagiri <nasthagiri@edx.org>
      Co-Author: Sarina Canelake <sarina@edx.org>
      
      [LMS-2370]
      Calen Pennington committed
  23. 29 Apr, 2014 1 commit
  24. 08 Apr, 2014 3 commits
  25. 24 Feb, 2014 1 commit
  26. 11 Feb, 2014 1 commit
  27. 30 Jan, 2014 1 commit
  28. 17 Dec, 2013 4 commits
  29. 11 Dec, 2013 1 commit
  30. 09 Dec, 2013 1 commit
  31. 26 Nov, 2013 1 commit
  32. 14 Oct, 2013 1 commit