Skip to content

Commit

Permalink
fix test config
Browse files Browse the repository at this point in the history
  • Loading branch information
merwok committed Oct 30, 2018
1 parent dc54e2f commit e6c103c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
- checkout
- restore_cache:
keys:
- rest-auth-toolkit-py37-v6-{{ arch }}-{{ checksum "requirements-test.txt" }}-{{ checksum "demo/requirements.txt" }}
- rest-auth-toolkit-py37-v5-{{ arch }}-{{ checksum "requirements-test.txt" }}-{{ checksum "demo/requirements.txt" }}
- rest-auth-toolkit-py37-v5-{{ arch }}-{{ checksum "requirements-test.txt" }}-{{ checksum "demo/requirements.txt" }}
- rest-auth-toolkit-py37-v5-{{ arch }}-{{ checksum "requirements-test.txt" }}
- rest-auth-toolkit-py37-v5-{{ arch }}-
- rest-auth-toolkit-py37-v6-{{ arch }}-{{ checksum "requirements-test.txt" }}
- rest-auth-toolkit-py37-v6-{{ arch }}-
- run:
name: Install CI tools
command: |
Expand All @@ -41,7 +41,7 @@ jobs:
name: Check coverage with Python 3.7
command: venv/bin/tox -e coverage
- save_cache:
key: rest-auth-toolkit-py37-v5-{{ arch }}-{{ checksum "requirements-test.txt" }}-{{ checksum "demo/requirements.txt" }}
key: rest-auth-toolkit-py37-v6-{{ arch }}-{{ checksum "requirements-test.txt" }}-{{ checksum "demo/requirements.txt" }}
paths:
- venv
- .tox
Expand Down
2 changes: 1 addition & 1 deletion rest_auth_toolkit/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def natural_key(self):
return self.email


class BaseEmailConfirmation(models.Model):
class BaseEmailConfirmation(models.Model): # pragma: no cover
"""Abstract model for email confirmations.
Subclass in your project to customize to your needs and make
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ env =
DJANGO_SETTINGS_MODULE=demo.settings
python_paths = demo
addopts = -svv --showlocals --reuse-db
testpaths = tests
testpaths = tests/unit tests/functional
norecursedirs =
.tox
__pycache__
migrations
templates

[coverage:run]
source = rest_auth_toolkit/models.py, rest_auth_toolkit/managers.py, tests
source = rest_auth_toolkit.models, rest_auth_toolkit.managers, tests
branch = 1

[coverage:report]
Expand Down

0 comments on commit e6c103c

Please sign in to comment.