#8469 closed (invalid)
Running manage.py test on empty project executes 13 tests.
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Testing framework | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The following tests are being picked up by the testrunner.
test_confirm_complete (django.contrib.auth.tests.views.PasswordResetTest) ... ok test_confirm_different_passwords (django.contrib.auth.tests.views.PasswordResetTest) ... ok test_confirm_invalid (django.contrib.auth.tests.views.PasswordResetTest) ... ok test_confirm_invalid_post (django.contrib.auth.tests.views.PasswordResetTest) ... ok test_confirm_valid (django.contrib.auth.tests.views.PasswordResetTest) ... ok Email is sent if a valid email address is provided for password reset ... ok Error is raised if the provided email address isn't currently registered ... ok Doctest: django.contrib.auth.tests.__test__.BASIC_TESTS ... ok Doctest: django.contrib.auth.tests.__test__.FORM_TESTS ... ok Doctest: django.contrib.auth.tests.__test__.TOKEN_GENERATOR_TESTS ... ok Doctest: django.contrib.contenttypes.tests ... ok Doctest: django.contrib.sessions.tests ... ok Doctest: django.contrib.sites.tests ... ok ---------------------------------------------------------------------- Ran 13 tests in 2.205s
I had expected that the testrunner only picks up tests specific to the current project.
Note:
See TracTickets
for help on using tickets.
Your project isn't empty - it contains several applications, and those applications contain tests - sites, sessions, contenttypes, and auth. The behaviour your are seeing is correct and expected.