Split django application tests in multiple files

I am working on a django 1.2 application and I am starting with the framework, I want to split the tests in several files for the application https://github.com/vkhemlan/BolsaTrabajo/tree/master/bolsa_trabajo , how can I do this? What configurations do I need to do?

Hi

+3
source share
1 answer

Here is a really good django application testing guide : Django testing guide

And the application in the github application splits tests into forms, views, and models into separate files, so this is probably a good example for you.

, __init__.py:

from polls.tests.forms import *
from polls.tests.models import *
from polls.tests.views import *
+9

All Articles