Issue #5 resolved

instructions for testing, a supplied settings.py?

skyl
created an issue

I have a settings.py that looks like this

{{{

!python

DATABASE_ENGINE = 'django.db.backends.sqlite3' INSTALLED_APPS = [ "widget_tweaks", ] }}}

Then, to the README.rst, I added to Contributing section at the end:

{{{

!rst

running the tests

::

export DJANGO_SETTINGS_MODULE=settings
django-admin.py test widget_tweaks

}}}

Any objection to adding the settings.py? I don't know if there is a better convention for testing django apps that stand alone. Thoughts?

Comments (2)

  1. Mikhail Korobov repo owner

    Hi Skylar, it was indeed not clear how to run tests, thanks for the heads up.

    I've switched test running to tox: this way it is possible to run tests for python 2.5 .. 3.2 and with different django versions (1.2..1.4).

  2. Log in to comment