title: Python/Django Test Runner Import Error
body: <p>So in the joyous tradition of starting a project and not setting up my source control properly before the initial commit, I've gone and broken my Django Test Runner.  It appears that the PATH is messed up somewhere, so this probably isn't a Django specific issue.</p>
  
  <p>I can successfully run the django dev server and all project functionality works.  I have maybe 70 tests in the project that used to work, until at some point I introduced something that made them not.</p>
  
  <p>Error:</p>
  
  <pre><code>======================================================================
  ERROR: app.group.tests (unittest.loader.ModuleImportFailure)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/Users/Jamie/.pyenv/versions/3.4.1/lib/python3.4/unittest/case.py", line 58, in testPartExecutor
      yield
    File "/Users/Jamie/.pyenv/versions/3.4.1/lib/python3.4/unittest/case.py", line 577, in run
      testMethod()
    File "/Users/Jamie/.pyenv/versions/3.4.1/lib/python3.4/unittest/loader.py", line 32, in testFailure
      raise exception
  ImportError: Failed to import test module: app.group.tests
  Traceback (most recent call last):
    File "/Users/Jamie/.pyenv/versions/3.4.1/lib/python3.4/unittest/loader.py", line 312, in _find_tests
      module = self._get_module_from_name(name)
    File "/Users/Jamie/.pyenv/versions/3.4.1/lib/python3.4/unittest/loader.py", line 290, in _get_module_from_name
      __import__(name)
  ImportError: No module named 'app.group'
  </code></pre>
  
  <p>Checking the standards:</p>
  
  <pre><code>(venv) Jamies-MacBook-Pro:app Jamie$ python3
  Python 3.4.1 (default, Jun 30 2015, 16:47:23) 
  [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import sys
  &gt;&gt;&gt; sys.path
  ['', '/Users/Jamie/.pyenv/versions/3.4.1/lib/python34.zip', '/Users/Jamie/.pyenv/versions/3.4.1/lib/python3.4', '/Users/Jamie/.pyenv/versions/3.4.1/lib/python3.4/plat-darwin', '/Users/Jamie/.pyenv/versions/3.4.1/lib/python3.4/lib-dynload', '/Users/Jamie/.pyenv/versions/venv/lib/python3.4/site-packages']
  </code></pre>
  
  <p>There is nothing obvious that could be messing with PATH, and I've hit the stage where I have lots of untested functionality that I can't deploy (and an impending release date).  Any ideas?</p>