def setUp(self): config = RawConfigParser() config.add_section('SPFPlugin') config.set('SPFPlugin', 'max_lookups', '10') config.set('SPFPlugin', 'skiplist', '') config.set('SPFPlugin', 'temperror_retries', '10') config.set('SPFPlugin', 'temperror_sleep', '10') self.candidate = SPFPlugin(config)
def setUp(self): self.candidate = SPFPlugin(None)