Explorar el Código

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

Bastien Sevajol hace 9 años
padre
commit
3800083d36
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tracim/tracim/tests/__init__.py

+ 1 - 1
tracim/tracim/tests/__init__.py Ver fichero

@@ -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