Re: Django testing not loading certain fixtures

2010-12-23 Thread churris
Are you loading you fixtures within your test class? eg. fixtures = ['my_fixture.xml'] Make sure that also you have included in yoour settings file the following: FIXTURE_DIRS = ( os.path.join(PROJECT_PATH, '../testing/fixtures') of course with the path where you fixture is. Hope this helps O

Re: Django testing not loading certain fixtures

2010-12-23 Thread caroline
never mind...error on my side On Dec 23, 1:52 pm, caroline wrote: > I'm experiencing some problems when loading fixtures for Django > unittests. > > If I create a fixture with manage.py dumpdata, then loading of the > fixture works (except for the fact that there is an sql error, as i am > using

Django testing not loading certain fixtures

2010-12-23 Thread caroline
I'm experiencing some problems when loading fixtures for Django unittests. If I create a fixture with manage.py dumpdata, then loading of the fixture works (except for the fact that there is an sql error, as i am using mysql innodb and django dumps some records before others with foreign key refer