Commit 22ae3584 authored by Yusei Tahara's avatar Yusei Tahara

Fixed test. "submit" is a input field name, not a metadata name. metadata name is "keyword".


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18443 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d151f07f
...@@ -682,7 +682,7 @@ class TestIngestion(ERP5TypeTestCase): ...@@ -682,7 +682,7 @@ class TestIngestion(ERP5TypeTestCase):
xmlob = parseString(s) xmlob = parseString(s)
title = xmlob.getElementsByTagName('dc:title')[0].childNodes[0].data title = xmlob.getElementsByTagName('dc:title')[0].childNodes[0].data
self.assertEquals(title, u'another title') 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') self.assertEquals(subject, u'another subject')
description = xmlob.getElementsByTagName('dc:description')[0].childNodes[0].data description = xmlob.getElementsByTagName('dc:description')[0].childNodes[0].data
self.assertEquals(description, u'another description') self.assertEquals(description, u'another description')
......
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