# Path: webtools/settings.py
# class Settings(BaseSettings, metaclass=MetaSettings):
#     # Session engine settings
#     SESSION_ENGINE = 'webtools.session.backend.database.DatabaseEngine'
#     SESSION_ENGINE_KWARGS = {}
# 
#     # Authentication backend list
#     AUTHENTICATION_BACKENDS = []
# 
#     # sqlalchemy settings
#     SQLALCHEMY_ENGINE_URL = None
#     SQLALCHEMY_ENGINE_KWARGS = {}
# 
#     # Jinja2 settings
#     JINJA2_TEMPLATE_DIRS = []
#     JINJA2_SETTINGS = {"cache_size": 100}
#     JINJA2_CONTEXT_PROCESSORS = []
# 
#     # Low level tornado options.
#     TORNADO_TRANSFORMS = None
#     TORNADO_DEFAULT_HOST = ""
#     TORNADO_WSGI_MODE = False
#     TORNADO_SETTINGS = {}
# 
#     INSTALLED_MODULES = []
# 
#     # Secret key for cookies and password salt generation.
#     SECRET_KEY = "sectet-key-change-me"
# 
#     # Password hashers list with prefrence ordering.
#     PASSWORD_HASHERS = (
#         'webtools.auth.hashers.PBKDF2PasswordHasher',
#         'webtools.auth.hashers.PBKDF2SHA1PasswordHasher',
#         'webtools.auth.hashers.BCryptPasswordHasher',
#         'webtools.auth.hashers.SHA1PasswordHasher',
#         'webtools.auth.hashers.MD5PasswordHasher',
#         'webtools.auth.hashers.CryptPasswordHasher',
#     )
# 
#     CSRF_COOKIE_NAME = "csrftoken"
# 
#     # I18n settings
#     I18N = False
#     I18N_DIRECTORIES = []
#     I18N_DOMAIN = "webtools"
#     I18N_DEFAULT_LANG = "en_US"
# 
#     DEFAULT_TZ = "UTC"
# 
#     # User defined commands.
#     COMMANDS = []


from webtools.settings import Settings
import os.path


CURRENT_PATH = os.path.dirname(os.path.realpath(__file__))

class TestOverwriteSettings(Settings):
    SQLALCHEMY_ENGINE_URL = "sqlite://"
    AUTHENTICATION_BACKENDS = ["webtools.auth.backends.DatabaseAuthenticationBackend"]

    JINJA2_TEMPLATE_DIRS = [
        os.path.join(CURRENT_PATH, "template")
    ]
    INSTALLED_MODULES = [
        "tests",
    ]

    COMMANDS = [
        "webtools.management.commands.runserver.RunserverCommand",
    ]

    I18N = True

    I18N_DIRECTORIES = [

# Path: webtools/settings.py
# class Settings(BaseSettings, metaclass=MetaSettings):
#     # Session engine settings
#     SESSION_ENGINE = 'webtools.session.backend.database.DatabaseEngine'
#     SESSION_ENGINE_KWARGS = {}
# 
#     # Authentication backend list
#     AUTHENTICATION_BACKENDS = []
# 
#     # sqlalchemy settings
#     SQLALCHEMY_ENGINE_URL = None
#     SQLALCHEMY_ENGINE_KWARGS = {}
# 
#     # Jinja2 settings
#     JINJA2_TEMPLATE_DIRS = []
#     JINJA2_SETTINGS = {"cache_size": 100}
#     JINJA2_CONTEXT_PROCESSORS = []
# 
#     # Low level tornado options.
#     TORNADO_TRANSFORMS = None
#     TORNADO_DEFAULT_HOST = ""
#     TORNADO_WSGI_MODE = False
#     TORNADO_SETTINGS = {}
# 
#     INSTALLED_MODULES = []
# 
#     # Secret key for cookies and password salt generation.
#     SECRET_KEY = "sectet-key-change-me"
# 
#     # Password hashers list with prefrence ordering.
#     PASSWORD_HASHERS = (
#         'webtools.auth.hashers.PBKDF2PasswordHasher',
#         'webtools.auth.hashers.PBKDF2SHA1PasswordHasher',
#         'webtools.auth.hashers.BCryptPasswordHasher',
#         'webtools.auth.hashers.SHA1PasswordHasher',
#         'webtools.auth.hashers.MD5PasswordHasher',
#         'webtools.auth.hashers.CryptPasswordHasher',
#     )
# 
#     CSRF_COOKIE_NAME = "csrftoken"
# 
#     # I18n settings
#     I18N = False
#     I18N_DIRECTORIES = []
#     I18N_DOMAIN = "webtools"
#     I18N_DEFAULT_LANG = "en_US"
# 
#     DEFAULT_TZ = "UTC"
# 
#     # User defined commands.
#     COMMANDS = []


# Path: tests/settings.py
from webtools.settings import Settings
import os.path



CURRENT_PATH = os.path.dirname(os.path.realpath(__file__))

class TestOverwriteSettings(Settings):
    SQLALCHEMY_ENGINE_URL = "sqlite://"
    AUTHENTICATION_BACKENDS = ["webtools.auth.backends.DatabaseAuthenticationBackend"]

    JINJA2_TEMPLATE_DIRS = [
        os.path.join(CURRENT_PATH, "template")
    ]
    INSTALLED_MODULES = [
        "tests",
    ]

    COMMANDS = [
        "webtools.management.commands.runserver.RunserverCommand",
    ]

    I18N = True

    I18N_DIRECTORIES = [

        os.path.join(CURRENT_PATH, "locale"),