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 -

What is the difference between data design and data model(ERD) -

ios - Can NSManagedObject conform to NSCoding -