Name |
Last commit
|
Last update |
---|---|---|
.. | ||
djangoapps | ||
envs | ||
lib | ||
static | ||
templates | ||
README.rst | ||
__init__.py | ||
celery.py | ||
startup.py | ||
tests.py | ||
urls.py | ||
wsgi.py | ||
wsgi_apache_lms.py |
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 |
---|---|---|
.. | ||
djangoapps | Loading commit data... | |
envs | Loading commit data... | |
lib | Loading commit data... | |
static | Loading commit data... | |
templates | Loading commit data... | |
README.rst | Loading commit data... | |
__init__.py | Loading commit data... | |
celery.py | Loading commit data... | |
startup.py | Loading commit data... | |
tests.py | Loading commit data... | |
urls.py | Loading commit data... | |
wsgi.py | Loading commit data... | |
wsgi_apache_lms.py | Loading commit data... |