# HG changeset patch # User Victor Ng # Date 1219932610 14400 # Node ID b761c26773a3c588644ab84a2e944c8fb68fabee # Parent 7f2f9bb4f32cdd1fff5954acebaa41650cec7c06 Added comment file for running the example diff -r 7f2f9bb4f32c -r b761c26773a3 examples/README.TXT --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/README.TXT Thu Aug 28 10:10:10 2008 -0400 @@ -0,0 +1,18 @@ +If you change directory into the 'project' directory, you should be able to +run the nose test runner and get reasonable results. + + +Something like this: + + C:\dev\nosedjango\examples\project>nosetests -v --with-django + project.tests.test_views.test_view_index ... ok + + ---------------------------------------------------------------------- + Ran 1 test in 0.047s + + OK + Destroying test database... + + C:\dev\nosedjango\examples\project> + + diff -r 7f2f9bb4f32c -r b761c26773a3 nosedjango/nosedjango.py --- a/nosedjango/nosedjango.py Thu Aug 28 10:06:50 2008 -0400 +++ b/nosedjango/nosedjango.py Thu Aug 28 10:10:10 2008 -0400 @@ -3,10 +3,7 @@ database (or schema) and installs apps from test settings file before tests are run, and tears the test database (or schema) down after all tests are run. """ -__author = 'Jason Pellerin' -__version__ = '0.1' -import atexit import logging import os, sys import re