Commit 6c7a692d authored by Jérome Perrin's avatar Jérome Perrin

test: add missing `expires` argument in DummyLocalizer.changeLanguage

This was not following the signature of the real method
parent 136a43ff
......@@ -175,7 +175,7 @@ class DummyLocalizer:
get_languages = get_supported_languages
def changeLanguage(self, lang):
def changeLanguage(self, lang, expires=None):
self.lang = lang
def translate(self, domain, msgid, lang=None, mapping=None, *args, **kw):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment