Hi!

I'm testing my application with a TestCase class, specifing "fixtures"
attribute in my class like:

class MyTestCase(TestCase):
    fixtures = ['myfix.json']
    ....

I've created the folder "fixtures" in my directory application like:

/home/simo/Projects/myproject/myapp/fixtures/myfix.json

where myfix.json was created by "dumpdata" command, but when I execute the
command

manage.py test myapp

fixtures data don't load, and the command report "...0 fixtures
loads..." but they are load only when I rename the fixtures file
"initial_data.json". I've already read the documentation to
http://docs.djangoproject.com/en/1.2/topics/testing/#fixture-loading.
I'm making something wrongs??

Regards,
Simone

-- 
Simo

- Registered Linux User #395060

- Software is like sex, it is better when it is free  --> Linus B. Torvalds

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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