Commit 32fb75f2 authored by Yusei Tahara's avatar Yusei Tahara

Fixed test. keyword is not a part of dublincore.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18454 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b78ee9bd
...@@ -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:keyword')[0].childNodes[0].data subject = xmlob.getElementsByTagName('meta: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