Revert "Merge pull request #18340 from cpennington/fix-studio-xblock-rendering"
This reverts commit9a70ca78a5, reversing changes made toefd5b9abbd. Hopefully fixes EDUCATOR-3053
This commit is contained in:
0
openedx/tests/util/webpack_loader/__init__.py
Normal file
0
openedx/tests/util/webpack_loader/__init__.py
Normal file
@@ -0,0 +1,16 @@
|
||||
"""
|
||||
This module mocks the external package django-webpack-loader within
|
||||
python unittest execution, so python tests have no dependency on
|
||||
frontend assets. See LEARNER-1938 for further details.
|
||||
"""
|
||||
from django import template
|
||||
|
||||
register = template.Library()
|
||||
|
||||
|
||||
@register.simple_tag
|
||||
def render_bundle(bundle_name):
|
||||
"""
|
||||
This is the only webpack_loader function we call directly.
|
||||
"""
|
||||
return ''
|
||||
Reference in New Issue
Block a user