[Erp5-report] r18443 - /erp5/trunk/products/ERP5OOo/tests/testIngestion.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Dec 20 10:12:59 CET 2007
Author: yusei
Date: Thu Dec 20 10:12:59 2007
New Revision: 18443
URL: http://svn.erp5.org?rev=18443&view=rev
Log:
Fixed test. "submit" is a input field name, not a metadata name. metadata name is "keyword".
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=18443&r1=18442&r2=18443&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testIngestion.py (original)
+++ erp5/trunk/products/ERP5OOo/tests/testIngestion.py Thu Dec 20 10:12:59 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:subject')[0].childNodes[0].data
+ subject = xmlob.getElementsByTagName('dc: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