[Zope-CMF] Re: SVN: CMF/trunk/CMFCore/tests/test_ - made copy tests more independent from implementation details of _verifyObjectPaste

Tres Seaver tseaver at palladion.com
Fri Dec 2 22:14:16 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jens Vagelpohl wrote:
> 
> On 2 Dec 2005, at 18:58, yuppie wrote:
> 
>> Tres Seaver wrote:
>>
>>>>  import Testing
>>>> -import Zope2
>>>> -Zope2.startup()
>>>
>>> I'm seeing issues in some tests which fail when run outside the full
>>> suite after changes like these.  E.g.,
>>> zopectl> test CMFDefault
> 
> 
> These issues are not present on the trunk, they are specific to your 
> branch, Tres. I see failures as well, but it all blows up with 
> exceptions like this:
> 
> ======================================================================
> ERROR: test_join_memberproperties 
> (CMFDefault.tests.test_join.MembershipTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/local/zope/28Instance/Products/CMFDefault/tests/
> test_join.py", line 37, in setUp
>     zcml.load_config('configure.zcml', Products.DCWorkflow)
> AttributeError: 'module' object has no attribute 'DCWorkflow'
> 
> hm... does this help?

It says to me that the product initialization phase is being skpped
(which is what I would expect from the diff at the top).


Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDkQ2I+gerLs4ltQ4RAqyjAJ9rKLvSpy+ntlY4eqmz4R3LuRE2UQCbB877
p3hg2ewelq55uYzSnmo5Qqk=
=sXs1
-----END PGP SIGNATURE-----



More information about the Zope-CMF mailing list