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

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

src/s/a/sahara-2014.1/sahara/tests/unit/service/edp/test_job_manager.py   sahara(Download)
    def test_add_postfix(self):
        self.override_config("job_workflow_postfix", 'caba')
        res = job_manager._add_postfix('aba')
        self.assertEqual("aba/caba/", res)
 
        self.override_config("job_workflow_postfix", '')
        res = job_manager._add_postfix('aba')

src/s/a/sahara-HEAD/sahara/tests/unit/service/edp/test_job_manager.py   sahara(Download)
    def test_add_postfix(self):
        self.override_config("job_workflow_postfix", 'caba')
        res = job_manager._add_postfix('aba')
        self.assertEqual("aba/caba/", res)
 
        self.override_config("job_workflow_postfix", '')
        res = job_manager._add_postfix('aba')