zope.app.testing.functional does not support blobstorage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 3 |
Won't Fix
|
Wishlist
|
Unassigned | ||
zope.app.testing |
Confirmed
|
Low
|
Christian Theune |
Bug Description
zope.app.
This leads to an error when trying to upload a blob such as zope.file.
(...)
>>> browser.
>>> from StringIO import StringIO
>>> browser.open('http://
>>> browser.
... 'text/plain', 'toto.txt')
>>> browser.
Traceback (most recent call last):
...
Unsupported: Storing Blobs in <ZODB.DemoStora
Projects using blobs customize the setUp themselves to be able to use a blobstorage in their tests, like in z3c.blobfile:
http://
It would be better to directly add blobstorage support in zope.app.
zope.app. testing. functional should probably use zc.demostorage2 as well instead of plain demostorage.