﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
3731	Missing exception output with `manage.py test`	Benjamin Schwarze	ttarabula	"I tried to set up a splitted test environment today.

I created a ''tests'' directory within my application directory and added an ''!__init!__.py'' file.
This looks like that:

{{{
mysite
  - myapp
    - tests
      - __init__.py
}}}

Within the ''!__init!__.py'' file I imported my test cases from other modules.

After that I executed the test suite via:

{{{
bschwarze@devbox:~/mysite$ ./manage.py test
Creating test database...
Creating table django_admin_log
Creating table auth_message
Creating table auth_group
Creating table auth_user
Creating table auth_permission
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table myapp_car
Installing index for admin.LogEntry model
Installing index for auth.Message model
Installing index for auth.Permission model
Installing index for myapp.Car model
Loading 'initial_data' fixtures...
No fixtures found.

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
Destroying test database...
}}}

But it reported '''Run 0 tests ...''', although I was sure I added my tests correctly.
After asking for help in Django IRC, I tried to import my ''tests'' module in Django shell.

This gave me an import error. After fixing that everything worked fine.

I think ''manage.py test'' should output such import errors, too."		closed	Testing framework	dev		worksforme	sprintsept14		Unreviewed	0	0	0	0	0	0
