<reponame>ccmbioinfo/dcc-file-transfer<filename>config/test.py<gh_stars>1-10
import os

from . import BaseConfig


class Config(BaseConfig):
    TESTING = True

    SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(os.getcwd(), 'tests/DCC-test.db')
    UPLOAD_FOLDER = os.path.join(os.getcwd(), 'test-uploads')
    LOGFILE = os.path.join(os.getcwd(), 'dcc-test.log')

import os

from . import BaseConfig


class Config(BaseConfig):
    TESTING = True

    SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(os.getcwd(), 'tests/DCC-test.db')
    UPLOAD_FOLDER = os.path.join(os.getcwd(), 'test-uploads')
    LOGFILE = os.path.join(os.getcwd(), 'dcc-test.log')