Re: test database and unittesting

2010-06-24 Thread Rufman
This must be a django.test.Testcase bug, because the same thing happens when i load fixtures, but not if i use unittest.Testcase On Jun 24, 1:42 pm, Rufman wrote: > When i do "Animal.object.create(name="dog")" in a unittest setup no > row is added to the database, but if i do this in the normal

test database and unittesting

2010-06-24 Thread Rufman
When i do "Animal.object.create(name="dog")" in a unittest setup no row is added to the database, but if i do this in the normal code it works. The temporary test database is created, but the adding of objects does not work. I'm totally lost as to where the error could be. side note: i also had a