[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Tests

From: <e.huelsmann_at_gmx.net>
Date: 2003-09-07 22:38:54 CEST

Hi,

[ snip ]
>
> I don't think so -- I've been seeing the update-15 test fail for a
> while, just haven't had time to look at it closely and the new trans
> test failure looks exactly the same.
>
> To fix the trans test it looks like this method needs to be fixed:
>
> def _tweak_paths(list):
> if os.sep != "/":
> tweaked_list = []
> for line in list:
> tweaked_list.append(string.replace(line, os.sep, "/"))
> return tweaked_list
> else:
> return list
>
> Aren't the last two parameters to the string.replace call backwards?

That depends :-)
Is the method applied to expected_output or to output ?

Expected output can be converted using the function above;
output should be converted with the parameters reversed. I just cannot
test it, since I have no Windows box available.

bye.

Erik.

-- 
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Sep 7 22:40:07 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.