Skip to content

Commit e6c103c

Browse files
committed
fix test config
1 parent dc54e2f commit e6c103c

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.circleci/config.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
- checkout
2626
- restore_cache:
2727
keys:
28+
- rest-auth-toolkit-py37-v6-{{ arch }}-{{ checksum "requirements-test.txt" }}-{{ checksum "demo/requirements.txt" }}
2829
- rest-auth-toolkit-py37-v5-{{ arch }}-{{ checksum "requirements-test.txt" }}-{{ checksum "demo/requirements.txt" }}
29-
- rest-auth-toolkit-py37-v5-{{ arch }}-{{ checksum "requirements-test.txt" }}-{{ checksum "demo/requirements.txt" }}
30-
- rest-auth-toolkit-py37-v5-{{ arch }}-{{ checksum "requirements-test.txt" }}
31-
- rest-auth-toolkit-py37-v5-{{ arch }}-
30+
- rest-auth-toolkit-py37-v6-{{ arch }}-{{ checksum "requirements-test.txt" }}
31+
- rest-auth-toolkit-py37-v6-{{ arch }}-
3232
- run:
3333
name: Install CI tools
3434
command: |
@@ -41,7 +41,7 @@ jobs:
4141
name: Check coverage with Python 3.7
4242
command: venv/bin/tox -e coverage
4343
- save_cache:
44-
key: rest-auth-toolkit-py37-v5-{{ arch }}-{{ checksum "requirements-test.txt" }}-{{ checksum "demo/requirements.txt" }}
44+
key: rest-auth-toolkit-py37-v6-{{ arch }}-{{ checksum "requirements-test.txt" }}-{{ checksum "demo/requirements.txt" }}
4545
paths:
4646
- venv
4747
- .tox

rest_auth_toolkit/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def natural_key(self):
4646
return self.email
4747

4848

49-
class BaseEmailConfirmation(models.Model):
49+
class BaseEmailConfirmation(models.Model): # pragma: no cover
5050
"""Abstract model for email confirmations.
5151
5252
Subclass in your project to customize to your needs and make

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ env =
3939
DJANGO_SETTINGS_MODULE=demo.settings
4040
python_paths = demo
4141
addopts = -svv --showlocals --reuse-db
42-
testpaths = tests
42+
testpaths = tests/unit tests/functional
4343
norecursedirs =
4444
.tox
4545
__pycache__
4646
migrations
4747
templates
4848

4949
[coverage:run]
50-
source = rest_auth_toolkit/models.py, rest_auth_toolkit/managers.py, tests
50+
source = rest_auth_toolkit.models, rest_auth_toolkit.managers, tests
5151
branch = 1
5252

5353
[coverage:report]

0 commit comments

Comments
 (0)