test: Fix test monkeypatches for render_bundle
Now that the signature has changed, update the testing monkeypatches as well.
This commit is contained in:
@@ -50,7 +50,7 @@ def no_webpack_loader(monkeypatch):
|
||||
"""
|
||||
monkeypatch.setattr(
|
||||
"webpack_loader.templatetags.webpack_loader.render_bundle",
|
||||
lambda entry, extension=None, config='DEFAULT', attrs='': ''
|
||||
lambda context, entry, extension=None, config='DEFAULT', attrs='': ''
|
||||
)
|
||||
monkeypatch.setattr(
|
||||
"webpack_loader.utils.get_as_tags",
|
||||
|
||||
@@ -21,7 +21,7 @@ TestCase.maxDiff = None
|
||||
def no_webpack_loader(monkeypatch): # lint-amnesty, pylint: disable=missing-function-docstring
|
||||
monkeypatch.setattr(
|
||||
"webpack_loader.templatetags.webpack_loader.render_bundle",
|
||||
lambda entry, extension=None, config='DEFAULT', attrs='': ''
|
||||
lambda context, entry, extension=None, config='DEFAULT', attrs='': ''
|
||||
)
|
||||
monkeypatch.setattr(
|
||||
"webpack_loader.utils.get_as_tags",
|
||||
|
||||
Reference in New Issue
Block a user