python - Unittesting with translations -


i'm trying unittest code use webapp2_extras.i18n.lazy_gettext, don't want test requests. when test code use method, following exception:

assertionerror: request global variable not set. 

can test translations without using webapp2?


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -