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
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
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
3 matches
Mail list logo