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

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

src/s/a/sahara-HEAD/sahara/tests/unit/service/validation/test_ng_template_validation_create.py   sahara(Download)
    def setUp(self):
        self._create_object_fun = nt.check_node_group_template_create
        self.scheme = nt.NODE_GROUP_TEMPLATE_SCHEMA
        api.plugin_base.setup_plugins()
 

src/s/a/sahara-HEAD/sahara/tests/unit/service/validation/test_cluster_template_create_validation.py   sahara(Download)
    def setUp(self):
        self._create_object_fun = ct.check_cluster_template_create
        self.scheme = ct.CLUSTER_TEMPLATE_SCHEMA
        api.plugin_base.setup_plugins()
 

src/s/a/sahara-HEAD/sahara/tests/unit/service/validation/test_cluster_scaling_validation.py   sahara(Download)
    def setUp(self):
        api.plugin_base.setup_plugins()
        self._create_object_fun = mock.Mock()
 
    @mock.patch('sahara.service.api.get_cluster')

src/s/a/sahara-HEAD/sahara/tests/unit/service/validation/test_cluster_create_validation.py   sahara(Download)
    def setUp(self):
        self._create_object_fun = c.check_cluster_create
        self.scheme = c.CLUSTER_SCHEMA
        api.plugin_base.setup_plugins()
 
        self.patchers.append(nova_p)
        nova().flavors.list.side_effect = u._get_flavors_list
        api.plugin_base.setup_plugins()
 
    def tearDown(self):

src/s/a/sahara-HEAD/sahara/tests/unit/service/validation/edp/test_job_executor.py   sahara(Download)
    def setUp(self):
        self._create_object_fun = wrap_it
        self.scheme = je.JOB_EXEC_SCHEMA
        api.plugin_base.setup_plugins()
 

src/s/a/sahara-HEAD/sahara/tests/unit/service/validation/edp/test_job_binary.py   sahara(Download)
    def setUp(self):
        self._create_object_fun = b.check_job_binary
        self.scheme = b.JOB_BINARY_SCHEMA
        api.plugin_base.setup_plugins()
 

src/s/a/sahara-HEAD/sahara/tests/unit/service/validation/edp/test_data_source.py   sahara(Download)
    def setUp(self):
        self._create_object_fun = ds.check_data_source_create
        self.scheme = ds.DATA_SOURCE_SCHEMA
        api.plugin_base.setup_plugins()
 

src/s/a/sahara-2014.1/sahara/tests/unit/service/validation/test_ng_template_validation_create.py   sahara(Download)
    def setUp(self):
        self._create_object_fun = nt.check_node_group_template_create
        self.scheme = nt.NODE_GROUP_TEMPLATE_SCHEMA
        api.plugin_base.setup_plugins()
 

src/s/a/sahara-2014.1/sahara/tests/unit/service/validation/test_cluster_template_create_validation.py   sahara(Download)
    def setUp(self):
        self._create_object_fun = ct.check_cluster_template_create
        self.scheme = ct.CLUSTER_TEMPLATE_SCHEMA
        api.plugin_base.setup_plugins()
 

src/s/a/sahara-2014.1/sahara/tests/unit/service/validation/test_cluster_scaling_validation.py   sahara(Download)
    def setUp(self):
        api.plugin_base.setup_plugins()
        self._create_object_fun = mock.Mock()
 
    @mock.patch('sahara.service.api.get_cluster')

  1 | 2  Next