Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(9)  |  Call(9)  |  Derive(0)  |  Import(0)

src/s/a/sahara-HEAD/sahara/tests/unit/service/validation/utils.py   sahara(Download)
        get_cl_templates.return_value = [r.ClusterTemplateResource(ct_dict)]
 
    vanilla = plugin.VanillaProvider()
    vanilla.name = 'vanilla'
    get_plugins.return_value = [vanilla]

src/s/a/sahara-HEAD/sahara/tests/unit/service/validation/test_cluster_scaling_validation.py   sahara(Download)
def _get_plugin(plugin_name):
    if plugin_name == 'vanilla':
        return plugin.VanillaProvider()
    return None
 

src/s/a/sahara-HEAD/sahara/tests/unit/plugins/vanilla/v2_3_0/test_validation.py   sahara(Download)
    def setUp(self):
        super(ValidationTest, self).setUp()
        self.pl = p.VanillaProvider()
 
    def test_validate(self):

src/s/a/sahara-HEAD/sahara/tests/unit/plugins/vanilla/v1_2_1/test_plugin.py   sahara(Download)
    def setUp(self):
        super(VanillaPluginTest, self).setUp()
        self.pl = p.VanillaProvider()
 
    def test_validate(self):

src/s/a/sahara-HEAD/sahara/tests/unit/plugins/vanilla/test_utils.py   sahara(Download)
    def setUp(self):
        super(TestUtils, self).setUp()
        self.plugin = p.VanillaProvider()
 
        self.ng_manager = tu.make_ng_dict(

src/s/a/sahara-2014.1/sahara/tests/unit/service/validation/utils.py   sahara(Download)
        get_cl_templates.return_value = [r.ClusterTemplateResource(ct_dict)]
 
    vanilla = plugin.VanillaProvider()
    vanilla.name = 'vanilla'
    get_plugins.return_value = [vanilla]

src/s/a/sahara-2014.1/sahara/tests/unit/service/validation/test_cluster_scaling_validation.py   sahara(Download)
def _get_plugin(plugin_name):
    if plugin_name == 'vanilla':
        return plugin.VanillaProvider()
    return None
 

src/s/a/sahara-2014.1/sahara/tests/unit/plugins/vanilla/v2_3_0/test_validation.py   sahara(Download)
    def setUp(self):
        super(ValidationTest, self).setUp()
        self.pl = p.VanillaProvider()
 
    def test_validate(self):

src/s/a/sahara-2014.1/sahara/tests/unit/plugins/vanilla/v1_2_1/test_plugin.py   sahara(Download)
    def setUp(self):
        super(VanillaPluginTest, self).setUp()
        self.pl = p.VanillaProvider()
 
    def test_validate(self):