[Pydev-users] [Users] Problem with Python Unit Test and Django
Brought to you by:
fabioz
From: SourceForge.net <no...@so...> - 2011-10-04 21:15:28
|
The following forum message was posted by msbuck at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4739686: I have a django project with some app tests. These app tests should only be run as part of the django testing framework since they access the database. However, if I select the project and pick Run As -> Python Unit Test it runs my tests, wiping out my db tables in the process. I can't seem to disable this or specify it to use manage.py tests appname. Do you have any suggestions? |