We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2ebc87 commit af3f6ffCopy full SHA for af3f6ff
test_settings.py
@@ -7,3 +7,5 @@
7
DATABASES = {"default": {"NAME": ":memory:", "ENGINE": "django.db.backends.sqlite3"}}
8
SECRET_KEY = "abc123"
9
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
10
+# avoid RemovedInDjango50Warning when running tests:
11
+USE_TZ = True
tox.ini
@@ -10,7 +10,7 @@ toxworkdir = {homedir}/.tox-django-typed-models
[testenv]
changedir = {toxinidir}
12
commands =
13
- pip install -e .
+ pip --disable-pip-version-check install -e .
14
coverage run {envbindir}/py.test --ds=test_settings typedmodels/tests.py {posargs}
15
coverage report --omit=typedmodels/test*
16
0 commit comments