def test_missing_agilo_links_allow(self): """Tests robustness of config in case the 'allow' parameter is missing""" env = self.teh.get_env() env.config.remove('agilo-links', 'allow') lc = LinksConfiguration(env) # Force initialization lc._initialized = False lc.initialize()
def _reset_links_configuration(self): # Reinitialize the link configuration lc = LinksConfiguration(self.teh.env) lc._initialized = False lc.initialize()