Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> python >> python3-django-setuptest
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: django-setuptest  ]

套件: python3-django-setuptest (0.2.1-4)

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.

其他與 python3-django-setuptest 有關的套件

  • 依賴
  • 推薦
  • 建議

下載 python3-django-setuptest

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 9.2 kB43 kB [文件列表]