Commit 92b291e8 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add an assertion to check if title property is set with a spreadsheet having...

add an assertion to check if title property is set with a spreadsheet having both short_title and title.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27610 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e45cfa71
......@@ -727,6 +727,7 @@ class TestOOoImport(ERP5TypeTestCase):
self.assertTrue('france' in region.europe.objectIds())
france = region.europe.france
self.assertEquals('France', france.getTitle())
self.assertTrue(france.hasProperty('title'))
self.assertEquals('A Country', france.getDescription())
self.assertEquals('FR', france.getCodification())
self.assertEquals(1, france.getIntIndex())
......
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