Opened 17 years ago
Closed 17 years ago
#6240 closed (invalid)
A file called tests.py in the application directory
Description ¶
In documentation is written "A file called tests.py in the application directory" and everywhere the name of this files stands as 'tests.py'. However, in django (version 0.97-pre) it works only for file called test.py. Doesn't work if you change the name to tests.py.
Change History (4)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:3 by , 17 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Please don't close a ticket without giving a reason or as an anonymous user.
comment:4 by , 17 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
This does work with tests.py
(as well as a tests/
directory. The module we are trying to import is given in django.test.simple.TEST_MODULE
.
Note:
See TracTickets
for help on using tickets.
In fact only tests defined into models.py seem to be working.