Re: Testing django-admin and manage.py

2008-07-08 Thread mrts
> Yes, the tests run on Windows now as well.  Only problem is two tests with > file paths in their output, the forward slashes are backslashes on Windows > so the output doesn't match what the tests are looking for: > > http://dpaste.com/61364/ > > Not sure if/how you ordinarily get around that

Re: Testing django-admin and manage.py

2008-07-08 Thread Karen Tracey
On Tue, Jul 8, 2008 at 10:53 AM, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > To the best of my knowledge, there shouldn't be anything else required > to run the tests, other than python in your system path. > > One possible cause is the __init__.py files; there are 3 required in > total -

Re: Testing django-admin and manage.py

2008-07-08 Thread Russell Keith-Magee
On Mon, Jul 7, 2008 at 11:06 PM, Karen Tracey <[EMAIL PROTECTED]> wrote: > On Mon, Jul 7, 2008 at 10:00 AM, Russell Keith-Magee > I get 17 failures running on Ubuntu (gutsy), but maybe I'm missing something > else needed for the tests to run properly? I just added the > django-admin-tests.diff

Re: Testing django-admin and manage.py

2008-07-08 Thread Russell Keith-Magee
On Mon, Jul 7, 2008 at 10:10 PM, Simon Willison <[EMAIL PROTECTED]> wrote: > > On Jul 7, 3:00 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> > wrote: > The bash script appears to be used purely to set the environment > variables. Is there any reason you can't just directly assign to > os.environ

Re: Testing django-admin and manage.py

2008-07-08 Thread Russell Keith-Magee
On Mon, Jul 7, 2008 at 10:08 PM, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > > One thing to watch for: I'm nearly 100% sure this won't work under the > buildbot -- it looks like since the settings file is written in the > same directory as the code you'll get conflicts between simultaneously >

Re: Testing django-admin and manage.py

2008-07-07 Thread Leo Soto M.
On Mon, Jul 7, 2008 at 10:10 AM, Simon Willison <[EMAIL PROTECTED]> wrote: > > On Jul 7, 3:00 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> > wrote: >> I've just uploaded a patch to #6017 that will hopefully address this >> issue. The patch 'django-admin-tests.diff' contains a prototype test >>

Re: Testing django-admin and manage.py

2008-07-07 Thread Karen Tracey
On Mon, Jul 7, 2008 at 10:00 AM, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > Hi all, > > I've been looking at #6017 and #5943 of late. These two tickets have > been around for a while; one of the biggest reasons that they have > taken so long to address is that they cover an area of Django

Re: Testing django-admin and manage.py

2008-07-07 Thread Malcolm Tredinnick
On Mon, 2008-07-07 at 22:00 +0800, Russell Keith-Magee wrote: [...] > I would also appreciate it if anyone could confirm that the same test > approach will work for Windows. I have almost no access to Windows > boxes for development purposes, so I'm completely in the dark here. > However, as far

Testing django-admin and manage.py

2008-07-07 Thread Russell Keith-Magee
Hi all, I've been looking at #6017 and #5943 of late. These two tickets have been around for a while; one of the biggest reasons that they have taken so long to address is that they cover an area of Django where the testing isn't automated - the behaviour of django-admin.py and manage.py. As a