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

2016-07-13 Thread Christopher Hoskin
Thanks, but according to the Changelog, Django 1.9 is supported in the
latest release (0.2.1).

https://github.com/praekelt/django-setuptest/blob/develop/CHANGELOG.rst

(I'm assuming that Django's APIs are stable between 1.9 and 1.9.7.)

My package is here if you'd like to try it:

https://mentors.debian.net/package/django-setuptest

Christopher

On 13 July 2016 at 10:32, Chris Lamb  wrote:

> Hi,
>
> > ITP: django-setuptest -- simple test suite enabling Django app testing
> via setup.py
>
> Do note that upstream is a little--err--slow, and doesn't even support
> the version of Django that's currently in sid:
>
>  https://github.com/praekelt/django-setuptest/pull/26
>
>
> Regards,
>
> --
>   ,''`.
>  : :'  : Chris Lamb
>  `. `'`  la...@debian.org / chris-lamb.co.uk
>`-
>


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

2016-07-13 Thread Chris Lamb
Hi,

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

Do note that upstream is a little--err--slow, and doesn't even support
the version of Django that's currently in sid:

 https://github.com/praekelt/django-setuptest/pull/26


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



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

2016-07-07 Thread Christopher Hoskin
Package: wnpp
Severity: wishlist
Owner: Christopher Hoskin 

* Package name: django-setuptest
  Version : 0.2.1
  Upstream Author : Praekelt Consulting 
* 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.