Skip to content

Commit

Permalink
Merge 2adcf48 into f41bda3
Browse files Browse the repository at this point in the history
  • Loading branch information
BagzieGracious committed Mar 5, 2019
2 parents f41bda3 + 2adcf48 commit 4b90927
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .coveralls.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
service_name: travis-pro
repo_token: mxl1ErG2WLlwPxw1p5zNzPJLOEbZn8IFS
repo_token: 3AuwXL0ACVG6JwqfeWSop9mwtr9MxgfdI
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,17 @@ python:

services:
- postgresql

env:
- SECRET_KEY='Application secret key'

install:
- pip install -r requirements.txt
- pip install coverage==4.5.2
- pip install coverage
- pip install coveralls

script:
- coverage run --source='authors/apps' manage.py test
- coverage run --source='authors/apps' manage.py test && coverage report

after_success:
- coveralls
1 change: 1 addition & 0 deletions authors/apps/authentication/tests/test_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@


class UserLoginTest(BaseTest):

"""Contains user login test methods."""
def test_user_can_login(self):
"""Tests if a user with valid credentials can login."""
Expand Down

0 comments on commit 4b90927

Please sign in to comment.