ソースを参照

Sets languages conveniently in tests environment

Adrien Panay 7 年 前
コミット
9d3493718c
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      tracim/tracim/tests/__init__.py

+ 1 - 1
tracim/tracim/tests/__init__.py ファイルの表示

@@ -197,7 +197,7 @@ class TestStandard(object):
197 197
         logger.debug(self, 'Load extra fixtures... -> done')
198 198
 
199 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 202
     def tearDown(self):
203 203
         transaction.commit()