From 29b9b5ac83dc2af823507e4c7ebfe4cc87f0b347 Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Wed, 19 May 2010 14:53:55 +0000
Subject: [PATCH] replace has been replaced by attachment

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35465 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Form/tests/testOOoChart.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5Form/tests/testOOoChart.py b/product/ERP5Form/tests/testOOoChart.py
index c395a04a30..4dd1946886 100644
--- a/product/ERP5Form/tests/testOOoChart.py
+++ b/product/ERP5Form/tests/testOOoChart.py
@@ -149,7 +149,7 @@ class TestOOoChart(ERP5TypeTestCase, ZopeTestCase.Functional):
       # test content type : application/vnd.oasis.opendocument.graphics
       self.assertTrue(content_type.startswith(self.content_type), content_type)
       content_disposition = response.getHeader('content-disposition')
-      self.assertEquals('inline', content_disposition.split(';')[0])
+      self.assertEquals('attachment', content_disposition.split(';')[0])
       # Test ODG (zip)
       body = response.getBody()
       # Test Validation Relax NG
-- 
2.30.9