Browse Source

Setup sys.path in conftest

David Cramer 11 years ago
parent
commit
bcaeac4e54
1 changed files with 3 additions and 0 deletions
  1. 3 0
      conftest.py

+ 3 - 0
conftest.py

@@ -1,8 +1,11 @@
 from django.conf import settings
 import mock
+import sys
 import os
 import os.path
 
+sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src'))
+
 
 def pytest_configure(config):
     import warnings