Browse Source

Sets languages conveniently in tests environment

Adrien Panay 7 years ago
parent
commit
9d3493718c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tracim/tracim/tests/__init__.py

+ 1 - 1
tracim/tracim/tests/__init__.py View File

197
         logger.debug(self, 'Load extra fixtures... -> done')
197
         logger.debug(self, 'Load extra fixtures... -> done')
198
 
198
 
199
         self.app.get('/_test_vars')  # Allow to create fake context
199
         self.app.get('/_test_vars')  # Allow to create fake context
200
-        tg.i18n.set_lang('en')  # Set a default lang
200
+        tg.i18n.set_lang(['en', ])  # Set a default lang
201
 
201
 
202
     def tearDown(self):
202
     def tearDown(self):
203
         transaction.commit()
203
         transaction.commit()