equal
deleted
inserted
replaced
115 valmap = {None: None, 'dtd': DTDValidator, 'xml': SaxOnlyValidator} |
115 valmap = {None: None, 'dtd': DTDValidator, 'xml': SaxOnlyValidator} |
116 no_auto_populate = () |
116 no_auto_populate = () |
117 ignored_relations = () |
117 ignored_relations = () |
118 |
118 |
119 def __init__(self, *args, **kwargs): |
119 def __init__(self, *args, **kwargs): |
|
120 self.validators = {} |
120 EnvBasedTC.__init__(self, *args, **kwargs) |
121 EnvBasedTC.__init__(self, *args, **kwargs) |
121 for view, valkey in VIEW_VALIDATORS.iteritems(): |
122 for view, valkey in VIEW_VALIDATORS.iteritems(): |
122 self.validators[view] = self.valmap[valkey] |
123 self.validators[view] = self.valmap[valkey] |
123 |
124 |
124 def custom_populate(self, how_many, cursor): |
125 def custom_populate(self, how_many, cursor): |