Skip to content
Sections
>> Trisquel >> パッケージ >> etiona >> python >> python-django-setuptest
etiona  ]
[ ソース: django-setuptest  ]

パッケージ: python-django-setuptest (0.2.1-2)

simple test suite enabling Django app testing via setup.py (Python 2)

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 2 version of the package.

その他の python-django-setuptest 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: python
    interactive high-level object-oriented language (default version)
  • dep: python-coverage
    code coverage tool for Python 2
  • dep: python-django
    High-level Python web development framework (Python 2 version)
  • dep: python-pep8
    Python PEP 8 code style checker - Python
  • dep: python-setuptools
    Python Distutils Enhancements

python-django-setuptest のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 8.9 kB43 kB [ファイル一覧]