loading fixtures for django tests
- by alexarsh
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']
I do use TestCase of django.tests and not unittest.
But the fixtures are not loaded. What am I missing?
Thanks, Arshavski Alexander.