devtools/testlib.py
changeset 3734 b2107f68176c
parent 3720 5376aaadd16b
child 3777 3ef8cdb5fb1c
--- a/devtools/testlib.py	Mon Oct 19 18:15:24 2009 +0200
+++ b/devtools/testlib.py	Mon Oct 19 18:15:39 2009 +0200
@@ -747,7 +747,7 @@
     application_rql = []
 
     no_auto_populate = ()
-    ignored_relations = ()
+    ignored_relations = set()
 
     def to_test_etypes(self):
         return unprotected_entities(self.schema, strict=True)
@@ -779,7 +779,7 @@
             rset = cu.execute('%s X' % etype)
             edict[str(etype)] = set(row[0] for row in rset.rows)
         existingrels = {}
-        ignored_relations = SYSTEM_RELATIONS + self.ignored_relations
+        ignored_relations = SYSTEM_RELATIONS | self.ignored_relations
         for rschema in self.schema.relations():
             if rschema.final or rschema in ignored_relations:
                 continue