Problem: I'm using factory_boy to create some mock up objects so I don't 
have to use fixtures in my tests (this isn't causing the problem though). I 
have a function called _create_fixtures() that is called in the setUp() of 
my class which is causing the following IntegrityErrors: 
http://dpaste.org/ggC5U/.

I would like to create these objects only on the first run of the tests so 
that they don't keep getting these errors.

For more information, this is the test classes: http://dpaste.org/a6eFb/

Thanks in advance for your help.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/X1k-oLAlCt0J.
To post to this group, send email to django-users@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