1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
Source: django-setuptest
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders:
Christopher Hoskin <mans0954@debian.org>,
Section: python
Priority: optional
Build-Depends:
debhelper-compat (= 11),
dh-python,
python3-all,
python3-setuptools,
Standards-Version: 4.4.1
Vcs-Browser: https://salsa.debian.org/python-team/modules/django-setuptest
Vcs-Git: https://salsa.debian.org/python-team/modules/django-setuptest.git
Homepage: https://github.com/praekelt/django-setuptest
Package: python3-django-setuptest
Architecture: all
Depends:
python3-setuptools,
${misc:Depends},
${python3:Depends},
Description: simple test suite enabling Django app testing via setup.py (Python3 version)
Django Setuptest is a simple module enabling Django app testing via setup.py.
.
Normally when you execute
.
$ python setup.py test
.
for Django related modules you're almost certain to run into
DJANGO_SETTINGS_MODULE environment variable issues, e.g.:
.
ImportError: Settings cannot be imported, because environment variable
DJANGO_SETTINGS_MODULE is undefined.
.
This module overcomes this by configuring the DJANGO_SETTINGS_MODULE
environment variable before executing your test suite. As a bonus it also
generates Coverage and PEP 8 reports as part of the test.
.
This is the Python 3 version of the package.
|