[Zope3-checkins] CVS: Zope3/src/zope/app/content/tests - test_sqlscript.py:1.10

Albertas Agejevas alga@codeworks.lt
Wed, 19 Mar 2003 14:57:58 -0500


Update of /cvs-repository/Zope3/src/zope/app/content/tests
In directory cvs.zope.org:/tmp/cvs-serv11034/src/zope/app/content/tests

Modified Files:
	test_sqlscript.py 
Log Message:
Renamed getPgysicalPathString() to getPath().

Got rid of getPhysicalPath() (which used to return a tuple) by replacing it
by getPath().


=== Zope3/src/zope/app/content/tests/test_sqlscript.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/content/tests/test_sqlscript.py:1.9	Wed Mar 19 12:55:35 2003
+++ Zope3/src/zope/app/content/tests/test_sqlscript.py	Wed Mar 19 14:57:26 2003
@@ -120,8 +120,8 @@
     def getRoot(self):
         return None
 
-    def getPhysicalPath(self):
-        return (str(id(self.obj)),)
+    def getPath(self):
+        return str(id(self.obj))
 
 
 class SQLScriptTest(unittest.TestCase, PlacelessSetup):