def plugins_get_version(plugin_name, version): return u.render(api.get_plugin(plugin_name, version).wrapped_dict)
def plugins_get(plugin_name): return u.render(api.get_plugin(plugin_name).wrapped_dict)
def test_get_plugin(self): api.get_plugin('fake', '0.1') api.get_plugin('fake', '0.3') api.get_plugin('fake') self.assertIsNone(api.get_plugin('name1', '0.1'))