Commit bcc27f65 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

test fix

parent 5110d231c1d6
......@@ -3,12 +3,12 @@ from cubicweb.devtools.apptest import EnvBasedTC
class PersonTC(EnvBasedTC):
def setup_database(self):
self.add_entity('Person', firstname=u'adrien', surname=u'di mascio')
self.add_entity('Person', firstname=u'adrien', surname=u'di mascio')
def test_dc_title(self):
e = self.entity('Any X WHERE X is Person')
self.assertEquals(e.dc_title(), 'adrien di mascio')
self.assertEquals(e.dc_long_title(), 'Mr. adrien di mascio')
self.assertEquals(e.dc_long_title(), 'Mr adrien di mascio')
if __name__ == '__main__':
unittest_main()
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