Added testing harness for the application

This commit is contained in:
2012-10-19 23:42:26 +01:00
parent b8f4d073b1
commit c1250e552d
7 changed files with 223 additions and 0 deletions

10
test_app/manage.py Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test_app.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)