Monday, February 1, 2010

test fixtures

Hi,

I want to use some fixtures in my tests.
I have cms_sample app and a fixtures folder inside with
cms_sample_data.xml

I use the following in my test.py:

class Funtionality(TestCase):
fixtures = ['cms_sample_data']

But the fixtures are not loaded. What am I missing?

Thanks, Arshavski Alexander.

--
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.

No comments:

Post a Comment