Skip to content
Permalink
Browse files

testing

  • Loading branch information...
JeffVandrewJr committed Jan 10, 2019
1 parent a934911 commit edbbb4f23d135a2e3e5fa1417658f50706daf313
Showing with 5 additions and 3 deletions.
  1. +1 −1 .circleci/config.yml
  2. +4 −2 tests/tconfig.py
@@ -9,7 +9,7 @@ jobs:
command: |
apk add git
git clone https://github.com/JeffVandrewJr/patron.git
pip install pytest
pip install pytest pytest-flask-sqlalchemy pytest-mock
cd patron
python3 -m pytest
@@ -1,3 +1,4 @@
from datetime import datetime, timedelta
import os
from os.path import normpath, abspath, join

@@ -24,8 +25,9 @@ class Config(object):
MAIL_USERNAME = 'example@example.com'
MAIL_PASSWORD = 'password'
PREFERRED_URL_SCHEME = 'https'
SCHEDULER_HOUR = 9
SCHEDULER_MINUTE= None
SCHEDULER_BASE = datetime.now() + timedelta(minutes=1)
SCHEDULER_HOUR = SCHEDULER_BASE.hour
SCHEDULER_MINUTE= SCHEDULER_BASE.minute
SECRET_KEY = 'a-very-secret-key'
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + join(basedir, 'app.db')
SQLALCHEMY_TRACK_MODIFICATIONS = False

0 comments on commit edbbb4f

Please sign in to comment.
You can’t perform that action at this time.