On Apr 17, 2:58 am, Paul McMillan <p...@mcmillan.ws> wrote:
> For the particular test case in modeltests/fixtures/models.py, we
> might be able to improve test time by tearing the fixtures down after
> verifying them, rather than doing a full flush. This will be easier to
> do after converting from a doctest to a unittest.

Unless I'm missing something, converting from doctest to unittest
itself will solve the problem (at least for transactional databases),
as Django's TestCase will roll back the transaction and make flush/
teardown unnecessary.

Carl

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

Reply via email to