[Erp5-report] r18454 - /erp5/trunk/products/ERP5OOo/tests/testIngestion.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Dec 20 19:13:53 CET 2007
Author: yusei
Date: Thu Dec 20 19:13:52 2007
New Revision: 18454
URL: http://svn.erp5.org?rev=18454&view=rev
Log:
Fixed test. keyword is not a part of dublincore.
Modified:
erp5/trunk/products/ERP5OOo/tests/testIngestion.py
Modified: erp5/trunk/products/ERP5OOo/tests/testIngestion.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/tests/testIngestion.py?rev=18454&r1=18453&r2=18454&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testIngestion.py (original)
+++ erp5/trunk/products/ERP5OOo/tests/testIngestion.py Thu Dec 20 19:13:52 2007
@@ -682,7 +682,7 @@
xmlob = parseString(s)
title = xmlob.getElementsByTagName('dc:title')[0].childNodes[0].data
self.assertEquals(title, u'another title')
- subject = xmlob.getElementsByTagName('dc:keyword')[0].childNodes[0].data
+ subject = xmlob.getElementsByTagName('meta:keyword')[0].childNodes[0].data
self.assertEquals(subject, u'another subject')
description = xmlob.getElementsByTagName('dc:description')[0].childNodes[0].data
self.assertEquals(description, u'another description')
More information about the Erp5-report
mailing list