[Zope3-checkins] CVS: Zope3/src/zope/app/dav/tests - test_propfind.py:1.8

Sidnei da Silva sidnei@x3ng.com.br
Mon, 23 Jun 2003 13:17:34 -0400


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

Modified Files:
	test_propfind.py 
Log Message:
1. Whitespace cleanup. 2. Docstring fixing. 3. Modified DAV code and tests to append '/' to the path if the last element is 'dir-like'. 4. Support for MKCOL with tests + functional tests. 5. Refactored DAV functional tests into a base class for reusing

=== Zope3/src/zope/app/dav/tests/test_propfind.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/dav/tests/test_propfind.py:1.7	Fri Jun  6 15:29:02 2003
+++ Zope3/src/zope/app/dav/tests/test_propfind.py	Mon Jun 23 13:17:03 2003
@@ -422,6 +422,7 @@
                                           'Depth':'0'})
 
         resource_url = str(getView(folder, 'absolute_url', request))
+        resource_url = "%s/" % resource_url
         props_xml = ''
         props = getFieldNamesInOrder(IZopeDublinCore)
         for p in props:
@@ -468,6 +469,7 @@
                                           'Depth':'1'})
 
         resource_url = str(getView(folder, 'absolute_url', request))
+        resource_url = "%s/" % resource_url
         props_xml = ''
         props = getFieldNamesInOrder(IZopeDublinCore)
         for p in props:
@@ -514,6 +516,7 @@
                                           'Depth':'infinity'})
 
         resource_url = str(getView(folder, 'absolute_url', request))
+        resource_url = "%s/" % resource_url
         props_xml = ''
         props = getFieldNamesInOrder(IZopeDublinCore)
         for p in props: