Fortunately there is a quick way to do functional tests with blobs :
Use : from zope.file.testing import FunctionalBlobDocFileSuite instead of : from zope.app.testing.functional.FunctionalDocFileSuite
However, since zope.file already depends on zope.app.testing, it would be better to move the blob testing support from zope.file to zope.app.testing.
Fortunately there is a quick way to do functional tests with blobs :
Use : ocFileSuite testing. functional. FunctionalDocFi leSuite
from zope.file.testing import FunctionalBlobD
instead of :
from zope.app.
However, since zope.file already depends on zope.app.testing, it would be better to move the blob testing support from zope.file to zope.app.testing.