-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated requirements, added app factory pattern, linted
- Loading branch information
Showing
14 changed files
with
98 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,9 @@ venv | |
__pycache__ | ||
|
||
*.pyc | ||
*.sqlite | ||
*.db | ||
*.coverage | ||
.DS_Store | ||
env.sh | ||
migrations | ||
htmlcov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.6.0 | ||
3.6.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,7 +81,8 @@ def test_registered_on_defaults_to_datetime(self): | |
def test_check_password(self): | ||
# Ensure given password is correct after unhashing. | ||
user = User.query.filter_by(email='[email protected]').first() | ||
self.assertTrue(bcrypt.check_password_hash(user.password, 'admin_user')) | ||
self.assertTrue( | ||
bcrypt.check_password_hash(user.password, 'admin_user')) | ||
self.assertFalse(bcrypt.check_password_hash(user.password, 'foobar')) | ||
|
||
def test_validate_invalid_password(self): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
coverage==4.3.4 | ||
Flask==0.12 | ||
coverage==4.4.2 | ||
Flask==0.12.2 | ||
Flask-Bcrypt==0.7.1 | ||
Flask-Bootstrap==3.3.7.1 | ||
Flask-DebugToolbar==0.10.0 | ||
Flask-DebugToolbar==0.10.1 | ||
Flask-Login==0.4.0 | ||
Flask-Migrate==2.0.3 | ||
Flask-Script==2.0.5 | ||
Flask-SQLAlchemy==2.1 | ||
Flask-Testing==0.6.1 | ||
Flask-Migrate==2.1.1 | ||
Flask-Script==2.0.6 | ||
Flask-SQLAlchemy==2.3.2 | ||
Flask-Testing==0.6.2 | ||
Flask-WTF==0.14.2 |