Преглед изворни кода

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