Fix for ValueError: Invalid rounds

master
Wagner Augusto Andreoli 9 years ago
parent 88d8ee69b7
commit 34b1750122
  1. 2
      {{cookiecutter.app_name}}/{{cookiecutter.app_name}}/settings.py

@ -40,5 +40,5 @@ class TestConfig(Config):
TESTING = True
DEBUG = True
SQLALCHEMY_DATABASE_URI = 'sqlite://'
BCRYPT_LOG_ROUNDS = 1 # For faster tests
BCRYPT_LOG_ROUNDS = 4 # For faster tests; needs at least 4 to avoid "ValueError: Invalid rounds"
WTF_CSRF_ENABLED = False # Allows form testing

Loading…
Cancel
Save