Tuesday, October 11, 2011

Re: Still getting IntegrityError in test fixture using dumpdata --natural

Replying to myself: temporary fix for dumpdata: --exclude
contenttypes --exclude auth.permission

The result now works as a test fixture.

Not sure what to conclude:
* the fix for issue #7052 does not work?
* --natural does not fix the IntegrityErrors with contenttypes in test
fixtures?
* contenttypes are trouble in test fixtures?
* test fixtures are trouble and I should just create all of my test
objects in the test cases?
* I am just confused?

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

No comments:

Post a Comment