[test] avoid critical log by informing the source we consider Personne as a multi-sources type stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 31 Mar 2010 12:33:47 +0200
branchstable
changeset 5106 782ff24a7e46
parent 5105 57e0fc953676
child 5107 3694bd379513
[test] avoid critical log by informing the source we consider Personne as a multi-sources type
server/test/unittest_repository.py
--- a/server/test/unittest_repository.py	Wed Mar 31 12:33:09 2010 +0200
+++ b/server/test/unittest_repository.py	Wed Mar 31 12:33:47 2010 +0200
@@ -403,6 +403,7 @@
 class FTITC(CubicWebTC):
 
     def test_reindex_and_modified_since(self):
+        self.repo.system_source.multisources_etypes.add('Personne')
         eidp = self.execute('INSERT Personne X: X nom "toto", X prenom "tutu"')[0][0]
         self.commit()
         ts = datetime.now()