Skip to content

Commit

Permalink
Allow tests to be run from test_project
Browse files Browse the repository at this point in the history
  • Loading branch information
bmihelac committed May 18, 2012
1 parent ea002fa commit 0b13901
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test_project/manage.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env python
import os, sys

from django.core.management import execute_manager

sys.path.insert(0, os.path.abspath('./../'))
try:
import settings # Assumed to be in the same directory.
except ImportError:
Expand Down

0 comments on commit 0b13901

Please sign in to comment.