From 41c3faf6a8fabe773b949e82f8b41382818bc9b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Wed, 5 Oct 2016 07:29:40 +0000
Subject: [PATCH] testFormPrintoutAsODT: explicitly specify expected value

It's better to explicitly specify the expected value, this test should
not depend on DateTime.strftime implementation, especially since this
implementation does some timezone conversion depending on time.tzname
---
 product/ERP5OOo/tests/testFormPrintoutAsODT.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5OOo/tests/testFormPrintoutAsODT.py b/product/ERP5OOo/tests/testFormPrintoutAsODT.py
index b9db3c4dbd..a6c91aa7ba 100644
--- a/product/ERP5OOo/tests/testFormPrintoutAsODT.py
+++ b/product/ERP5OOo/tests/testFormPrintoutAsODT.py
@@ -1249,7 +1249,7 @@ return []
         self.assertEqual(node.get('{%s}value' % nsmap['office']), str(value))
       elif klass == 'DateTimeField':
         self.assertEqual(node.get('{%s}value-type' % nsmap['office']), 'date')
-        self.assertEqual(node.text, value.strftime('%d/%m/%Y %H:%M:%S'))
+        self.assertEqual(node.text, '06/12/2010 23:24:15')
       elif klass == 'CheckBoxField':
         self.assertEqual(node.get('{%s}value-type' % nsmap['office']),
                           'boolean')
-- 
2.30.9