This test failed since d240785b on devstack. The self.request_factory.get() just return a request object, which is being passed to views.course_about() directly without being processed by edxmako.middleware. The REQUEST_CONTEXT.request in https://github.com/edx/edx-platform/blob/d240785b17bdcaeb11e4ef24ee4a3697da26c9b4/common/djangoapps/edxmako/middleware.py#L39 is None, instead of request object, which contains the LANGUAGE_CODE and other stuff used by the view. Also cleaned up the use of MakoMiddleware. Using the method in edxmako.tests module.
| Name |
Last commit
|
Last update |
|---|---|---|
| .tx | Loading commit data... | |
| cms | Loading commit data... | |
| common | Loading commit data... | |
| conf/locale | Loading commit data... | |
| docs | Loading commit data... | |
| lms | Loading commit data... | |
| openedx | Loading commit data... | |
| pavelib | Loading commit data... | |
| requirements | Loading commit data... | |
| scripts | Loading commit data... | |
| static | Loading commit data... | |
| test_root | Loading commit data... | |
| vendor_extra/tinymce | Loading commit data... | |
| .coveragerc | Loading commit data... | |
| .gitattributes | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .jshintignore | Loading commit data... | |
| .jshintrc | Loading commit data... | |
| .ruby-gemset | Loading commit data... | |
| .ruby-version | Loading commit data... | |
| AUTHORS | Loading commit data... | |
| CHANGELOG.rst | Loading commit data... | |
| CONTRIBUTING.rst | Loading commit data... | |
| Gemfile | Loading commit data... | |
| Gemfile.lock | Loading commit data... | |
| LICENSE | Loading commit data... | |
| README.rst | Loading commit data... | |
| manage.py | Loading commit data... | |
| package.json | Loading commit data... | |
| pavement.py | Loading commit data... | |
| pylintrc | Loading commit data... | |
| pylintrc_tweaks | Loading commit data... | |
| setup.cfg | Loading commit data... | |
| setup.py | Loading commit data... |