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 test

  class functionality (probes): fixtures = ['cms_sample_data']  

I TestCase of django.tests and no unittest .

But the fixtures have not been loaded. What am I missing?

xml- Forgot extension?

  Classroom performance: fixtures = ['cms_sample_data.xml']  

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -