1. 24 Aug, 2016 1 commit
  2. 03 Aug, 2016 2 commits
  3. 27 Jul, 2016 1 commit
  4. 30 Jun, 2016 1 commit
  5. 22 Jun, 2016 2 commits
  6. 17 Jun, 2016 1 commit
  7. 19 May, 2016 1 commit
    • Skip course_wiki test which is flaky under randomization · 0ade461f
      The test TestComprehensiveTheming.test_themed_footer in lms/djangoapps/course_wiki/tests/test_comprehensive_theming.py
      fails when run immediately after lms.djangoapps.course_wiki.tests.test_middleware:TestWikiAccessMiddleware.test_url_tranform.
      
      Until we have a chance to fix it, we're going to skip it to expedite merging
      concurrent testing.
      
      To reproduce the failure, remove the @skip decorator, and run:
      
      paver test_system -s lms --disable-migrations --test_id='lms.djangoapps.course_wiki.tests.test_middleware lms.djangoapps.course_wiki.tests.test_comprehensive_theming' --no-randomize -v --processes=0
      Calen Pennington committed
  8. 12 Apr, 2016 1 commit
  9. 28 Mar, 2016 1 commit
    • saleem-latif/WL-328: Multi-Site Comprehensive Theming · a796b563
      ziafazal: improvements need for multi-tenancy
      ziafazal: fixed broken tests
      ziafazal: no need to add setting in test.py
      ziafazal: added hostname validation
      ziafazal: changes after feedback from mattdrayer
      ziafazal: fixed branding and microsite broken tests
      ziafazal: make STATICFILES_DIRS to list
      ziafazal: added theme directory to mako lookup for tests
      ziafazal: added more protection in test_util
      saleem-latif: Enable SCSS Overrides for Comprehensive Theming
      saleem-latif: Incoporate feedback changes, Correct test failures, add tests and enable theming for django templates
      saleem-latif: Correct errors in python tests
      mattdrayer: Fix invalid release reference
      mattdrayer: Update django-wiki reference to latest release
      saleem-latif: Update Theme storages to work with Caching, Pipeline and collectstatic
      saleem-latif: Incorporate feedback changes
      mattdrayer: Pylint violation fix
      mattdrayer: Fix broken pavelib test
      Zia Fazal committed
  10. 16 Mar, 2016 1 commit
  11. 14 Mar, 2016 1 commit
    • ziafazal/WL-328: Multi-Site Comprehensive Theming · 954dae58
      ziafazal: improvements need for multi-tenancy
      ziafazal: fixed broken tests
      ziafazal: no need to add setting in test.py
      ziafazal: added hostname validation
      ziafazal: changes after feedback from mattdrayer
      ziafazal: fixed branding and microsite broken tests
      ziafazal: make STATICFILES_DIRS to list
      ziafazal: added theme directory to mako lookup for tests
      ziafazal: added more protection in test_util
      saleem-latif: Enable SCSS Overrides for Comprehensive Theming
      saleem-latif: Incoporate feedback changes, Correct test failures, add tests and enable theming for django templates
      saleem-latif: Correct errors in python tests
      mattdrayer: Fix invalid release reference
      mattdrayer: Update django-wiki reference to latest release
      Zia Fazal committed
  12. 03 Feb, 2016 1 commit
  13. 26 Jan, 2016 1 commit
  14. 25 Jan, 2016 1 commit
    • Make comprehensive theme work with django templates. · 9b89bd32
      Comprehensive theming did not work with django templates (used by course wiki).
      
      The reason it didn't work was that in order for the theme to work, theme template folder
      has to be added to django template dirs setting *before* django startup.
      After django startup, modifying `settings.DEFAULT_TEMPLATE_ENGINE['DIRS']` has no effect,
      because at that point the template engine is already initialized with a copy of the
      template dirs list.
      
      Instead of running the theme startup code as an autostartup hook, we manually run it
      *before* `django.setup()`. This is fine because theme startup code doesn't have to do
      anything else besides modifying some settings and doesn't actually need django to be
      initialized.
      Matjaz Gregoric committed
  15. 22 Dec, 2015 1 commit
  16. 17 Dec, 2015 1 commit
  17. 11 Dec, 2015 1 commit
  18. 22 Nov, 2015 1 commit
  19. 10 Nov, 2015 1 commit
  20. 26 Oct, 2015 2 commits
  21. 23 Oct, 2015 1 commit
  22. 02 Jul, 2015 1 commit
  23. 23 Jun, 2015 1 commit
  24. 19 Jun, 2015 1 commit
  25. 08 Jun, 2015 1 commit
  26. 02 Jun, 2015 1 commit
  27. 07 May, 2015 1 commit
  28. 17 Mar, 2015 1 commit
  29. 14 Mar, 2015 3 commits
  30. 06 Mar, 2015 1 commit
  31. 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
  32. 02 Dec, 2014 1 commit
  33. 01 Dec, 2014 2 commits