Commit 20064ed3 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 5c0d31cc
......@@ -169,7 +169,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