from config import Config


class TestConfig(Config):
    MAIL_FROM = "Test Mail <<EMAIL>>"
    MAIL_SERVER = "localhost"
    TESTING = True
    # This uses an in-memory database
    SQLALCHEMY_DATABASE_URI = "sqlite://"
    ELASTICSEARCH_URL = "http://localhost:9200"

from config import Config


class TestConfig(Config):
    MAIL_FROM = "Test Mail <<EMAIL>>"
    MAIL_SERVER = "localhost"
    TESTING = True
    # This uses an in-memory database
    SQLALCHEMY_DATABASE_URI = "sqlite://"
    ELASTICSEARCH_URL = "http://localhost:9200"

# This uses an in-memory database