# HG changeset patch # User Nicolas Chauvat # Date 1242948575 -7200 # Node ID c30034fe074fa1a9f2e891f4f8ce82278878a4c4 # Parent d38a46498eb904ba646b30340ee75417c3b2abe8 [test] fix test for metainformation now includes base-url diff -r d38a46498eb9 -r c30034fe074f 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',