Skip to content

Commit

Permalink
Enable debug toolbar on testing, please
Browse files Browse the repository at this point in the history
  • Loading branch information
vindarel committed Mar 22, 2017
1 parent 00ad22b commit 44339b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion abilian/app.py
Expand Up @@ -466,7 +466,7 @@ def setup_logging(self):
logging.config.dictConfig(logging_cfg)

def init_debug_toolbar(self):
if (not self.testing and self.config.get('DEBUG_TB_ENABLED') and
if (self.testing and self.config.get('DEBUG_TB_ENABLED') and
'debugtoolbar' not in self.blueprints):
try:
from flask_debugtoolbar import DebugToolbarExtension
Expand Down

0 comments on commit 44339b9

Please sign in to comment.