Opened 18 years ago

Closed 18 years ago

#3125 closed defect (duplicate)

Tests in tests.py not run in an app without a models.py file

Reported by: anonymous Owned by: Adrian Holovaty
Component: Testing framework Version: dev
Severity: trivial Keywords: doctest, unittest
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

If you have an app for common custom template tags (for example), without a models.py file, but the app contains a tests.py file, tests from tests.py are not run by django.test.simple.run_tests.

Should it be mandatory for an installed app to contain a models.py file?

c.

Change History (3)

comment:1 by (none), 18 years ago

milestone: Version 1.0

Milestone Version 1.0 deleted

comment:2 by Simon G. <dev@…>, 18 years ago

Triage Stage: UnreviewedDesign decision needed

comment:3 by Gary Wilson <gary.wilson@…>, 18 years ago

Resolution: duplicate
Status: newclosed

Marking this a dup of #3310, as there is a patch there.

Note: See TracTickets for help on using tickets.
Back to Top