My Django tests have started to print out the results instead of
registering them for the test results.  You can see here, as the tests
are run it prints out the True and False results (where normally it
just prints out a list of periods)  that the docstring tests are
expecting,

and then latter errors out saying that it got no result.

....
Installing index for apps.AppData model
Installing index for feedback.Feedback model
..../usr/lib/python2.5/site-packages/django/template/loaders/eggs.py:
4: UserWarning: Module _mysql was already imported from /var/lib/
python-support/python2.5/_mysql.so, but /var/lib/python-support/
python2.5 is being added to sys.path
  from pkg_resources import resource_string
True
True
[]
False
True
F.............
======================================================================
FAIL: Doctest: people.models.UserProfileManager.get_from_cache
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/django/test/_doctest.py",
line 2180, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for
people.models.UserProfileManager.get_from_cache
  File "/root/storm/eye/people/models.py", line 60, in get_from_cache

----------------------------------------------------------------------
File "/root/storm/eye/people/models.py", line 76, in
people.models.UserProfileManager.get_from_cache
Failed example:
    cached
Expected:
    True
Got nothing


What would cause this change?  I can't find what it could be.  I'm
fairly certain it's not an issue with the stdio or stderr...

Any help/hints is appreciated!







--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to