fix(tests): make tests runnable by disabling access log in test mode
This commit is contained in:
parent
c3fb28f6e4
commit
b2223c6a78
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ def create_app(test_config=None):
|
|||
pass
|
||||
|
||||
# Set up logging
|
||||
if not app.config['DEBUG']:
|
||||
if test_config is None and not app.config['DEBUG']:
|
||||
app.logger = logging.getLogger('lumi2')
|
||||
app.logger.setLevel(logging.INFO)
|
||||
app.logger.propagate = False
|
||||
|
|
Loading…
Add table
Reference in a new issue