summaryrefslogtreecommitdiff
path: root/addons/document_webdav/test
diff options
context:
space:
mode:
authorP. Christeas <p_christ@hol.gr>2010-11-03 13:25:35 +0200
committerP. Christeas <p_christ@hol.gr>2010-11-03 13:25:35 +0200
commit1c5c26a8afaed89d83fcaaa5aa6fb9a31d26a6c8 (patch)
tree088c6e9cf87fd261f35b186808855aff1b2a9e1e /addons/document_webdav/test
parent7f882e14cf2948a4fe4b2b2b34fa085e6dba4278 (diff)
doc webdav: move to the node_descriptor API
We need to support chunked transfers, as well as Ranges, so we should no longer use the node.get_data() but node.open_data('r'). bzr revid: p_christ@hol.gr-20101103112535-34sr4dhd3neunfv1
Diffstat (limited to 'addons/document_webdav/test')
-rw-r--r--addons/document_webdav/test/webdav_test1.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/document_webdav/test/webdav_test1.yml b/addons/document_webdav/test/webdav_test1.yml
index a64c2efae4c..a0f15c10fc9 100644
--- a/addons/document_webdav/test/webdav_test1.yml
+++ b/addons/document_webdav/test/webdav_test1.yml
@@ -56,4 +56,4 @@
dc = te.DAVClient()
dc.get_creds(self, cr, uid)
tdp = addons.get_module_resource('document_webdav', 'test_davclient.py')
- res = dc.gd_get(path=cr.dbname+'/Documents/test_davclient.py', compare=tdp)
+ res = dc.gd_get(path=cr.dbname+'/Documents/test_davclient.py', crange=(4,508), compare=tdp)