def setUp(self): handle_cwd() self.config = './ploader.yaml' utils.set_config_path(self.config) create_case_config(self.config)
def handle_cwd(path='ploader/tests/cwd'): # looks like a workaround, is ...errr... a suitable solution... # background: this function is called many times, but I only want to go here if necessary try: os.chdir(path) except FileNotFoundError: pass set_config_path('../../../config.yaml')
def setUp(self): handle_cwd() self.config = "./ploader.conf" utils.set_config_path(self.config) create_case_config(self.config) self.command = interface_commands['config']()
def setUp(self): handle_cwd() self.config = 'candybar.ploader' utils.set_config_path(self.config)