[Zope-CMF] CMF 2 test errors against zope 2.9 branch and trunk
Jens Vagelpohl
jens at dataflake.org
Sat Apr 8 05:57:59 EDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 8 Apr 2006, at 01:37, Stefan H. Holek wrote:
> FWIW I always get this one with 2.9. Didn't investigate further.
>
> Error in test test_reindexObjectSecurity_missing_noraise
> (CMFCore.tests.test_CMFCatalogAware.CMFCatalogAwareTests)
> Traceback (most recent call last):
> File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260,
> in run
> testMethod()
> File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/
> CMFCore/tests/test_CMFCatalogAware.py", line 178, in
> test_reindexObjectSecurity_missing_noraise
> self.assertEqual( len(self.logged), 1 ) # logging because no raise
> TypeError: len() of unsized object
>
> Ran 1248 tests with 0 failures and 1 errors in 77.257 seconds.
I just updated to the tip of the Zope 2.9 branch and ran the tests,
without any errors. I'm doing all this on OS X 10.4.6 using a self-
compiled Python 2.4.2.
Just to describe how I cobble together a working Zope 2.9 software
home nowadays, here's what I do:
- - cd into the source tree
- - ./configure --prefix=`pwd` --with-python=/usr/local/python2.4
- - make
- - make install (this breaks, but shows me the distutils command it
attempts to use, which I then copy and paste parts of to make it work)
- - run "/usr/local/bin/python2.4" "/path/to/sourcetree/setup.py"
build_ext -i install --home="/path/to/sourcetree"
If you look closely at the distutils invocation all I do is remove
the "--skip-build" piece that "make install" wants to use.
jens
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFEN4koRAx5nvEhZLIRAtnxAKCh+G2W258WAZ5wYXsUxe45GlHvTACfcrX9
5Ab4TbHn5OYjiUa6332HVQw=
=hmCc
-----END PGP SIGNATURE-----
More information about the Zope-CMF
mailing list