Add the following to rootio/config.py
:
class TestConfig(BaseConfig):
TESTING = True
CSRF_ENABLED = False
WTF_CSRF_ENABLED = False
SQLALCHEMY_ECHO = False
SQLALCHEMY_DATABASE_URI = 'sqlite://' # store db in memory
MAIL_DEFAULT_SENDER = 'test@example.com'
pytest