[Zope3-dev] Win32 Tests - Zope 3 - errors:4

Steve Alexander steve@cat-box.net
Wed, 13 Nov 2002 16:18:36 +0000


Marius and I have checked in a fix for this. However, we can't properly 
test it under Windows.

If anyone wants to try the test suite on a fresh checkout, and let me 
know the results, we can see whether the fix has worked.


zope-tests@squishdot.org wrote:

> ==============================================================================
> ==============================================================================
> Python Version:2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)]
>
> Modules included:
> Zope3 (HEAD)
>
> Error in test test_notify 
> (Zope.App.Caching.RAMCache.tests.test_RAMCache.TestRAMCache)
> Traceback (most recent call last):
>   File 
> "D:\ZopeTests\sandbox\Zope3\lib\python\Zope\App\Caching\RAMCache\tests\test_RAMCache.py", 
> line 243, in test_notify
>     c._getStorage().setEntry(location, key, value)
>   File 
> "D:\ZopeTests\sandbox\Zope3\lib\python\Zope\App\Caching\RAMCache\RAMCache.py", 
> line 144, in _getStorage
>     return self._v_storage
> AttributeError: 'RAMCache' object has no attribute '_v_storage'
>
> Error in test test_query 
> (Zope.App.Caching.RAMCache.tests.test_RAMCache.TestRAMCache)
> Traceback (most recent call last):
>   File 
> "D:\ZopeTests\sandbox\Zope3\lib\python\Zope\App\Caching\RAMCache\tests\test_RAMCache.py", 
> line 146, in test_query
>     c._getStorage().setEntry(location, key, value)
>   File 
> "D:\ZopeTests\sandbox\Zope3\lib\python\Zope\App\Caching\RAMCache\RAMCache.py", 
> line 144, in _getStorage
>     return self._v_storage
> AttributeError: 'RAMCache' object has no attribute '_v_storage'
>
> Error in test test_set 
> (Zope.App.Caching.RAMCache.tests.test_RAMCache.TestRAMCache)
> Traceback (most recent call last):
>   File 
> "D:\ZopeTests\sandbox\Zope3\lib\python\Zope\App\Caching\RAMCache\tests\test_RAMCache.py", 
> line 173, in test_set
>     c.set(value, ob, keywords=keywords)
>   File 
> "D:\ZopeTests\sandbox\Zope3\lib\python\Zope\App\Caching\RAMCache\RAMCache.py", 
> line 115, in set
>     s = self._getStorage()
>   File 
> "D:\ZopeTests\sandbox\Zope3\lib\python\Zope\App\Caching\RAMCache\RAMCache.py", 
> line 144, in _getStorage
>     return self._v_storage
> AttributeError: 'RAMCache' object has no attribute '_v_storage'
>
> Error in test test_update 
> (Zope.App.Caching.RAMCache.tests.test_RAMCache.TestRAMCache)
> Traceback (most recent call last):
>   File 
> "D:\ZopeTests\sandbox\Zope3\lib\python\Zope\App\Caching\RAMCache\tests\test_RAMCache.py", 
> line 94, in test_update
>     c.update(None, 1, 2, 3)
>   File 
> "D:\ZopeTests\sandbox\Zope3\lib\python\Zope\App\Caching\RAMCache\RAMCache.py", 
> line 78, in update
>     self._getStorage().update(maxEntries, maxAge, cleanupInterval)
>   File 
> "D:\ZopeTests\sandbox\Zope3\lib\python\Zope\App\Caching\RAMCache\RAMCache.py", 
> line 144, in _getStorage
>     return self._v_storage
> AttributeError: 'RAMCache' object has no attribute '_v_storage'
>
> ======================================================================
> ERROR: test_notify 
> (Zope.App.Caching.RAMCache.tests.test_RAMCache.TestRAMCache)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "D:\ZopeTests\sandbox\Zope3\lib\python\Zope\App\Caching\RAMCache\tests\test_RAMCache.py", 
> line 243, in test_notify
>     c._getStorage().setEntry(location, key, value)
>   File 
> "D:\ZopeTests\sandbox\Zope3\lib\python\Zope\App\Caching\RAMCache\RAMCache.py", 
> line 144, in _getStorage
>     return self._v_storage
> AttributeError: 'RAMCache' object has no attribute '_v_storage'
>
> ======================================================================
> ERROR: test_query 
> (Zope.App.Caching.RAMCache.tests.test_RAMCache.TestRAMCache)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "D:\ZopeTests\sandbox\Zope3\lib\python\Zope\App\Caching\RAMCache\tests\test_RAMCache.py", 
> line 146, in test_query
>     c._getStorage().setEntry(location, key, value)
>   File 
> "D:\ZopeTests\sandbox\Zope3\lib\python\Zope\App\Caching\RAMCache\RAMCache.py", 
> line 144, in _getStorage
>     return self._v_storage
> AttributeError: 'RAMCache' object has no attribute '_v_storage'
>
> ======================================================================
> ERROR: test_set 
> (Zope.App.Caching.RAMCache.tests.test_RAMCache.TestRAMCache)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "D:\ZopeTests\sandbox\Zope3\lib\python\Zope\App\Caching\RAMCache\tests\test_RAMCache.py", 
> line 173, in test_set
>     c.set(value, ob, keywords=keywords)
>   File 
> "D:\ZopeTests\sandbox\Zope3\lib\python\Zope\App\Caching\RAMCache\RAMCache.py", 
> line 115, in set
>     s = self._getStorage()
>   File 
> "D:\ZopeTests\sandbox\Zope3\lib\python\Zope\App\Caching\RAMCache\RAMCache.py", 
> line 144, in _getStorage
>     return self._v_storage
> AttributeError: 'RAMCache' object has no attribute '_v_storage'
>
> ======================================================================
> ERROR: test_update 
> (Zope.App.Caching.RAMCache.tests.test_RAMCache.TestRAMCache)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "D:\ZopeTests\sandbox\Zope3\lib\python\Zope\App\Caching\RAMCache\tests\test_RAMCache.py", 
> line 94, in test_update
>     c.update(None, 1, 2, 3)
>   File 
> "D:\ZopeTests\sandbox\Zope3\lib\python\Zope\App\Caching\RAMCache\RAMCache.py", 
> line 78, in update
>     self._getStorage().update(maxEntries, maxAge, cleanupInterval)
>   File 
> "D:\ZopeTests\sandbox\Zope3\lib\python\Zope\App\Caching\RAMCache\RAMCache.py", 
> line 144, in _getStorage
>     return self._v_storage
> AttributeError: 'RAMCache' object has no attribute '_v_storage'
>
> ----------------------------------------------------------------------
> Ran 2278 tests in 77.594s
>
> FAILED (errors=4)
>
>
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope3-dev
>