Commit bd9d936a authored by Nicolas Delaby's avatar Nicolas Delaby

add assertion


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44299 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f7bec530
...@@ -258,6 +258,7 @@ class TestIntegerField(ERP5TypeTestCase): ...@@ -258,6 +258,7 @@ class TestIntegerField(ERP5TypeTestCase):
self.assertEquals(node.get('{%s}value-type' % NSMAP['office']), 'float') self.assertEquals(node.get('{%s}value-type' % NSMAP['office']), 'float')
self.assertEquals(node.get('{%s}value' % NSMAP['office']), str(value)) self.assertEquals(node.get('{%s}value' % NSMAP['office']), str(value))
self.assertEquals(node.text, str(value)) self.assertEquals(node.text, str(value))
self.assertTrue('{%s}formula' % NSMAP['text'] not in node.attrib)
def test_render_odg_view(self): def test_render_odg_view(self):
self.field.values['default'] = 34 self.field.values['default'] = 34
......
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