[testlib] quickfix (needs review) : missing validators attribute
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Mon, 02 Feb 2009 12:10:34 +0100
changeset 549 cd2bdcc16430
parent 548 195a0065aaae
child 550 2300370b8edd
[testlib] quickfix (needs review) : missing validators attribute
devtools/testlib.py
--- a/devtools/testlib.py	Mon Feb 02 11:01:46 2009 +0100
+++ b/devtools/testlib.py	Mon Feb 02 12:10:34 2009 +0100
@@ -117,6 +117,7 @@
     ignored_relations = ()
     
     def __init__(self, *args, **kwargs):
+        self.validators = {}
         EnvBasedTC.__init__(self, *args, **kwargs)
         for view, valkey in VIEW_VALIDATORS.iteritems():
             self.validators[view] = self.valmap[valkey]