def setUp(self): self.workdir = tempfile.mkdtemp( dir=self.env.test_working_dir, prefix='{0}-'.format(self._testMethodName)) self.cfy = test_utils.get_cfy() self.addCleanup(shutil.rmtree, self.workdir, ignore_errors=True) self._set_tests_framework_logger() self.client = None
def setUp(self): import integration_tests.framework.env self.env = integration_tests.framework.env.instance self.workdir = tempfile.mkdtemp(dir=self.env.test_working_dir, prefix='{0}-'.format( self._testMethodName)) self.cfy = test_utils.get_cfy() self.addCleanup(shutil.rmtree, self.workdir, ignore_errors=True) self.logger = cloudify.utils.setup_logger(self._testMethodName, logging.INFO) self.client = None
def setUp(self): self.cfy = test_utils.get_cfy() self._set_tests_framework_logger() self.client = None