def test_get_settings(self): context = ExecutionContext(user=self.plugin_info['1']['user'], plugin=self.plugin_info['1']['plugin']) manager = PluginManager(context) # Should return the response from the view. response = manager.get_settings(self.plugin_info['1']['plugin'].hashkey) self.assertTrue(isinstance(response, dict))
def test_get_settings(self): context = ExecutionContext(user=self.plugin_info['1']['user'], plugin=self.plugin_info['1']['plugin']) manager = PluginManager(context) # Should return the response from the view. response = manager.get_settings( self.plugin_info['1']['plugin'].hashkey) self.assertTrue(isinstance(response, dict))