[test] fix test for metainformation now includes base-url stable
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Fri, 22 May 2009 01:29:35 +0200
branchstable
changeset 1903 c30034fe074f
parent 1902 d38a46498eb9
child 1904 e23536d29231
[test] fix test for metainformation now includes base-url
server/test/unittest_multisources.py
--- a/server/test/unittest_multisources.py	Fri May 22 01:05:08 2009 +0200
+++ b/server/test/unittest_multisources.py	Fri May 22 01:29:35 2009 +0200
@@ -77,7 +77,7 @@
                            'type': u'Card', 'extid': None})
         externent = rset.get_entity(3, 0)
         metainf = externent.metainformation()
-        self.assertEquals(metainf['source'], {'adapter': 'pyrorql', 'uri': 'extern'})
+        self.assertEquals(metainf['source'], {'adapter': 'pyrorql', 'base-url': 'http://extern.org', 'uri': 'extern'})
         self.assertEquals(metainf['type'], 'Card')
         self.assert_(metainf['extid'])
         etype = self.execute('Any ETN WHERE X is ET, ET name ETN, X eid %(x)s',