浏览代码

Fix: when test runnings, config section is overriden if section_name not provided

Bastien Sevajol 9 年前
父节点
当前提交
3800083d36
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tracim/tracim/tests/__init__.py

+ 1 - 1
tracim/tracim/tests/__init__.py 查看文件

@@ -183,7 +183,7 @@ class TestController(object):
183 183
         except Exception as e:
184 184
             print('-> err ({})'.format(e.__str__()))
185 185
 
186
-        setup_app()
186
+        setup_app(section_name=self.application_under_test)
187 187
         setup_db()
188 188
 
189 189