Commit 530481aa authored by Aurel's avatar Aurel

encode path of bt for export


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4653 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d7ec580c
...@@ -250,7 +250,7 @@ class TestBusinessTemplate(ERP5TypeTestCase): ...@@ -250,7 +250,7 @@ class TestBusinessTemplate(ERP5TypeTestCase):
# export Business Template # export Business Template
cfg = getConfiguration() cfg = getConfiguration()
template_path = os.path.join(cfg.instancehome, 'tests', '%s' % (template.getTitle(),)) template_path = os.path.join(cfg.instancehome, 'tests', '%s' % (template.getTitle(),))
template.export(path=template_path, local=1) template.export(path=pathname2url(template_path), local=1)
self.removeObjects() self.removeObjects()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment