#8792: Django's unit test system wipes out "custom sql" data before performing
tests
---------------------------------------+------------------------------------
Reporter: deltoide | Owner: nobody
Status: new | Milestone: post-1.0
Component: Unit test system | Version: SVN
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------+------------------------------------
Comment (by deltoide):
Thanks for the quick review.
In my particular case, I can't use the fixtures because I need to link my
data (because of using generic relations) to the content type id which I
need to get using a subselect query ... using the fixtures would require
to hard-code the content type id and that is something I don't want to do
because it's likely to change if any new model gets added to my
application ...
--
Ticket URL: <http://code.djangoproject.com/ticket/8792#comment:2>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---