Skip to content

Instantly share code, notes, and snippets.

@emidln
Last active December 18, 2015 05:39
Show Gist options
  • Save emidln/5734125 to your computer and use it in GitHub Desktop.
Save emidln/5734125 to your computer and use it in GitHub Desktop.
nosetests --verbosity=3 output without django
Failure: ImportError (No module named django.conf) ... ERROR
...
<snip>
...
======================================================================
ERROR: Failure: ImportError (No module named django.conf)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bja/code/elasticutils/env/lib/python2.7/site-packages/nose/loader.py", line 413, in loadTestsFromName
addr.filename, addr.module)
File "/home/bja/code/elasticutils/env/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/home/bja/code/elasticutils/env/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/bja/code/elasticutils/elasticutils/contrib/django/__init__.py", line 6, in <module>
from django.conf import settings
ImportError: No module named django.conf
----------------------------------------------------------------------
Ran 116 tests in 3.792s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment