Skip to content

Commit af3f6ff

Browse files
committed
Avoid a bit of noise in test output
1 parent b2ebc87 commit af3f6ff

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

test_settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@
77
DATABASES = {"default": {"NAME": ":memory:", "ENGINE": "django.db.backends.sqlite3"}}
88
SECRET_KEY = "abc123"
99
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
10+
# avoid RemovedInDjango50Warning when running tests:
11+
USE_TZ = True

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ toxworkdir = {homedir}/.tox-django-typed-models
1010
[testenv]
1111
changedir = {toxinidir}
1212
commands =
13-
pip install -e .
13+
pip --disable-pip-version-check install -e .
1414
coverage run {envbindir}/py.test --ds=test_settings typedmodels/tests.py {posargs}
1515
coverage report --omit=typedmodels/test*
1616

0 commit comments

Comments
 (0)