Re: runtests.py defaults

2007-07-16 Thread koenb
You might also mention the existence of "junction.exe" on windows (see [1]), which gives you more or less an equivalent of symlinks. Also very practical, and maybe not known by too many people. > Could you drop this into a wiki page, please. Give it a descriptive > title and it will show up easil

Re: runtests.py defaults

2007-07-16 Thread Malcolm Tredinnick
On Mon, 2007-07-16 at 18:37 -0500, Carl Karsten wrote: [...] > Here is what I would recommend: > > # settings_sqlite.py > DATABASE_ENGINE = 'sqlite3' > DATABASE_NAME = 'demodb' > ROOT_URLCONF=None > > rem testsqlite.bat > runtests.py --settings settings_sqlite 2>&1 > > The 2>1 thing so that it

Re: runtests.py defaults

2007-07-16 Thread Russell Keith-Magee
On 7/17/07, Carl Karsten <[EMAIL PROTECTED]> wrote: > > Right or wrong, doesn't seem like anyone is running the unit tests on win, > and I > bet the same applies to all the various environments. (which is OS * db). We don't deliberately set out to break things on Windows, but Windows gets used a

Re: runtests.py defaults

2007-07-16 Thread Carl Karsten
Russell Keith-Magee wrote: > On 7/4/07, Carl Karsten <[EMAIL PROTECTED]> wrote: >> how about supplying the following 3 line tests/settings.py and making it the >> default? > > I'm not sure I see the value. The simple case is trivial to set up; > committing the simple case to trunk implicitly sugg

Re: runtests.py defaults

2007-07-03 Thread Russell Keith-Magee
On 7/4/07, Carl Karsten <[EMAIL PROTECTED]> wrote: > > how about supplying the following 3 line tests/settings.py and making it the > default? I'm not sure I see the value. The simple case is trivial to set up; committing the simple case to trunk implicitly suggests that the other backends aren't

runtests.py defaults

2007-07-03 Thread Carl Karsten
how about supplying the following 3 line tests/settings.py and making it the default? [EMAIL PROTECTED]:~/django/django-src/tests$ cat settings.py # tests/settings.py DATABASE_ENGINE = 'sqlite3' ROOT_URLCONF=None SITE_ID=1 [EMAIL PROTECTED]:~/django/django-src/tests$ ./runtests.py --settings