Re: contrib app tests

2007-05-21 Thread Malcolm Tredinnick
On Mon, 2007-05-21 at 18:27 -0500, Gary Wilson wrote: > Man, I really need to remember to always use email when posting to these > django lists. Too many of my web posts never show up. And here I > thought the internets was a truck I could just dump stuff on. > > Malcolm Tredinnick wrote: > > O

Re: contrib app tests

2007-05-21 Thread Gary Wilson
her than to go hunt for where it is in modeltests or regression tests. The directory names in modeltests and regressiontests don't really tell you where in the code to look. Also, instead of modeltests, regressiontests, and contrib app tests sharing a common runtests.py namespace, we could ma

Re: contrib app tests

2007-05-19 Thread Jacob Kaplan-Moss
On 5/19/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > The Djinn says "It is Done. You have two more wishes." "You think I *asked* for a 14-inch pianist?" (Thanks!) Jacob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Re: contrib app tests

2007-05-19 Thread Russell Keith-Magee
On 5/20/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > Committed in [5296], along with a quick proof of concept test for the > lorem ipsum template tag in contrib.webdesign. > > Caveats for new players - The contrib app needs to have a models.py in > order for tests to be found, even if th

Re: contrib app tests

2007-05-19 Thread Russell Keith-Magee
On 5/20/07, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > > Agreed. This would also make moving third-party apps into contrib > easier (we wouldn't have to move tests to a different place). > > Anyone interested in modifying runtests to discover and load > django.contrib.*.tests? The Djinn says

Re: contrib app tests

2007-05-19 Thread Jacob Kaplan-Moss
On 5/19/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > I had been thinking about this abit recently, too. I think the answer is > yes, they should. Otherwise every single test ends up having to load and > install every single contrib app (because the main test suite doesn't do > any different

Re: contrib app tests

2007-05-19 Thread Malcolm Tredinnick
On Sat, 2007-05-19 at 00:16 -0500, Gary Wilson wrote: > Should contrib app tests go in that particular contrib app's directory > as opposed to the global tests directory? I had been thinking about this abit recently, too. I think the answer is yes, they should. Otherwise every singl

contrib app tests

2007-05-18 Thread Gary Wilson
Should contrib app tests go in that particular contrib app's directory as opposed to the global tests directory? Should we make Django's test runner look for and run all "tests" packages/modules within the Django tree? Or maybe just those in d