unit testing - loading fixtures for django tests -
I want to use some fixtures in my tests.
I have cms_sample from inside the app and a fixtures folder: cms_sample_data.xml
I have my I But the fixtures have not been loaded. What am I missing? test
class functionality (probes): fixtures = ['cms_sample_data'] TestCase of django.tests and no unittest .
xml- Forgot extension?
Classroom performance: fixtures = ['cms_sample_data.xml']
Comments
Post a Comment