Tuesday, January 11, 2011

Re: TestCase and fixtures

It sounds like you're doing everything correctly.

Just a few thoughts:

Is your app definitely in INSTALLED_APPS in settings.py?

Check typos in fixture name and filename (and include extension in
test).

Are you definitely using a Django TestCase instead of a unittest
TestCase?

If all else fails, try adding your fixture path to FIXTURE_DIRS:
http://docs.djangoproject.com/en/1.2/ref/django-admin/#django-admin-loaddata

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate