changeset 3:b761c26773a3

Added comment file for running the example
author Victor Ng <victor@monkeybean.ca>
date Thu, 28 Aug 2008 10:10:10 -0400
parents 7f2f9bb4f32c
children 20bca08c0828
files examples/README.TXT nosedjango/nosedjango.py
diffstat 2 files changed, 18 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- /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>
+
+
--- 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