[Zope-CVS]
SVN: zversioning/trunk/src/versioning/tests/repository_setup.py
- minor changes
Grégoire Weber
zope.org at incept.ch
Sun Oct 10 05:38:36 EDT 2004
Log message for revision 27881:
- minor changes
Changed:
U zversioning/trunk/src/versioning/tests/repository_setup.py
-=-
Modified: zversioning/trunk/src/versioning/tests/repository_setup.py
===================================================================
--- zversioning/trunk/src/versioning/tests/repository_setup.py 2004-10-10 09:27:16 UTC (rev 27880)
+++ zversioning/trunk/src/versioning/tests/repository_setup.py 2004-10-10 09:38:34 UTC (rev 27881)
@@ -1,3 +1,5 @@
+"""Some setup stuff not being intresting for doc tests
+"""
import persistent
import zope.interface
@@ -6,7 +8,7 @@
import zope.app.traversing.interfaces
from zope.app.versioncontrol import interfaces
-def buildRoot():
+def buildDatabaseRoot():
"""Opens a connection to a test database and returns the root object
"""
from zope.app.tests import ztapi
@@ -60,3 +62,5 @@
# Finally, we can create the interaction:
import zope.security.management
zope.security.management.newInteraction(participation)
+
+ return repository
More information about the Zope-CVS
mailing list