[Zope3-dev] test.py

Marius Gedminas mgedmin@codeworks.lt
Tue, 17 Jun 2003 17:20:58 +0300


--9amGYk9869ThD9tj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jun 11, 2003 at 10:57:59AM +0300, Marius Gedminas wrote:
> On Tue, Jun 10, 2003 at 03:18:51PM +0200, Ulrich Schreiner wrote:
> > i used to symbolic link my zope3 products in the "zopeproducts"=20
> > directory. when doing this, the "test.py" script does not find my=20
> > products and my tests.
> >=20
> > it seems that the "os.path.walk" only walks over directories and not=20
> > over symbolic links.
> >=20
> > zope3 loads the products at startup, so it would be nice to have a=20
> > test.py which does it too.
>=20
> +1
>=20
> The problem with following symbolic links is that they can form a cycle.
> I do not think it is a very pertinent in this case.  Would anyone object
> if I replaced the call to os.path.walk in find_tests with a version that
> follows symbolic links?

Since no one was against, I updated test.py in the CVS.

Marius Gedminas
--=20
Codeworks is available for Zope consulting -- http://www.codeworks.lt/

--9amGYk9869ThD9tj
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+7yPKkVdEXeem148RAs5HAJ9kWtR08aSVd/5fSUdQUj8iIF8KtQCfRUWV
VUMageud7geTsg9AFktWM+w=
=Wdk1
-----END PGP SIGNATURE-----

--9amGYk9869ThD9tj--