[Zope3-checkins] CVS: Zope3/src/zope/app/fssync/tests -
test_committer.py:1.25
Philipp von Weitershausen
philikon at philikon.de
Tue Feb 24 11:50:53 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/fssync/tests
In directory cvs.zope.org:/tmp/cvs-serv27419/src/zope/app/fssync/tests
Modified Files:
test_committer.py
Log Message:
DirectoryAdapter was defined for folders but is good for all kinds of
folderish/containerish objects, and in fact used by them; thus it only
makes sense to move it to this central place.
=== Zope3/src/zope/app/fssync/tests/test_committer.py 1.24 => 1.25 ===
--- Zope3/src/zope/app/fssync/tests/test_committer.py:1.24 Wed Jan 14 16:50:30 2004
+++ Zope3/src/zope/app/fssync/tests/test_committer.py Tue Feb 24 11:50:53 2004
@@ -32,7 +32,7 @@
from zope.fssync.tests.mockmetadata import MockMetadata
from zope.fssync.tests.tempfiles import TempFiles
-from zope.app.content.fssync import DirectoryAdapter
+from zope.fssync.server.entryadapter import DirectoryAdapter
from zope.app.interfaces.container import IContainer
from zope.app.interfaces.file import IFileFactory, IDirectoryFactory
from zope.app.interfaces.traversing import IContainmentRoot
@@ -163,8 +163,7 @@
shutil.rmtree(self.location)
def test_toFS(self):
- from zope.app.content.file import File
- obj = File(contentType='text/plain')
+ obj = Sample()
syncer.toFS(obj, "foo", self.location)
def test_getSerializer(self):
More information about the Zope3-Checkins
mailing list