I’ve written a custom admin filter, now I’m looking for tests of the builtin filterspecs…where can I find those? A
jmoritz@laptop:~/workspace/django/django$ grep -ir testcase . | grep -ir admin
returned only the admindocs tests…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The tests for the admin aren’t in the ‘django/’ section of the tree; they’re in the top-level ‘tests/’ section, along with most of the rest of the test suite shipped with Django.
As far as I know, though, filterspecs are a specific area which currently has no tests; there are some historical reasons for this, but if someone would like to buckle down and write them I’m pretty sure we’d accept 🙂