[ZODB-Dev] Repozo tests -- not
Tres Seaver
tseaver at palladion.com
Wed Dec 2 14:01:36 EST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Godefroid Chapelle wrote:
> Godefroid Chapelle wrote:
>> Jim Fulton wrote:
>>
>> <snip>
>>
>>> No one seems to be willing to step up and take responsibility.
>>> I guess everyone assumes I will.
>>>
>>> Jim
>>>
>> I'll take the responsibility of transforming the manual test to an
>> automated...
>>
>
> Done in svn.zope.org/repos/main/ZODB/branches/test_repozo
>
> I added code changes from revisions 105888, 105915 and 105919.
>
> Tests pass for me on MacOSX with 2.4, 2.5 and 2.6
Thanks for throwing yourself on that grenade, Godefroid. I have checked
in changes to your branch which:
- - Use a tempdir for backup / restore.
- - Clean out module-scope imports.
- - Avoid shellling out to run repozo, but rather use its main(),
passing argv.
- - Suppress noisy output, unless NOISY_REPOZO_TEST_OUTPUT is in the
environment.
Remaining cleanup would be to remove the "Monte Carlo" use of random to
generate permutations: the test takes a *long* time to run, because it
tries to run 100 times and use random.random to get permutations of the
three choices run: these should be six separate tests, likely.
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAksWuYsACgkQ+gerLs4ltQ7LYwCg0AK9vHca71u7q0maPM86hY2l
yzkAoIzgiGiEZLhcuG7vvTnHtTeuDbK2
=QKtA
-----END PGP SIGNATURE-----
More information about the ZODB-Dev
mailing list