[Zope3-checkins] CVS: Zope3/src/zope/app/traversing/tests - test_conveniencefunctions.py:1.12

Albertas Agejevas alga@codeworks.lt
Fri, 21 Mar 2003 10:29:11 -0500


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

Modified Files:
	test_conveniencefunctions.py 
Log Message:
One more zope.app.traversing renaming: locationAsUnicode() -> canonicalPath().


=== Zope3/src/zope/app/traversing/tests/test_conveniencefunctions.py 1.11 => 1.12 ===
--- Zope3/src/zope/app/traversing/tests/test_conveniencefunctions.py:1.11	Wed Mar 19 14:57:34 2003
+++ Zope3/src/zope/app/traversing/tests/test_conveniencefunctions.py	Fri Mar 21 10:29:10 2003
@@ -285,15 +285,15 @@
                 self.applyAssertEqual(lat, argument, correct_answer)
 
     def testLocationAsUnicode(self):
-        from zope.app.traversing import locationAsUnicode as lau
+        from zope.app.traversing import canonicalPath
 
         for error_type, value in self._bad_locations:
-            self.assertRaises(error_type, lau, value)
+            self.assertRaises(error_type, canonicalPath, value)
 
         for spec in self._good_locations:
             correct_answer = spec[0]
             for argument in spec:
-                self.applyAssertEqual(lau, argument, correct_answer)
+                self.applyAssertEqual(canonicalPath, argument, correct_answer)
 
     def applyAssertEqual(self, func, arg, answer):
         try: