[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#830292: ITP: django-setuptest -- simple test suite enabling Django app testing via setup.py



Package: wnpp
Severity: wishlist
Owner: Christopher Hoskin <christopher.hoskin@gmail.com>

* Package name    : django-setuptest
  Version         : 0.2.1
  Upstream Author : Praekelt Consulting <dev@praekelt.com>
* URL             : https://github.com/praekelt/django-setuptest/
* License         : BSD
  Programming Lang: Python
  Description     : simple test suite enabling Django app testing via setup.py

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.

As sid includes both python-django and python3-django I propose both Python
2 and 3 binary packages should be provided.

This package is a dependancy for django-memoize.

I would hope that the Python Modules Team would be willing to maintain the
package.

I am not a DD, so require a sponsor.


Reply to: