Пример #1
0
	def setUp(self):
		handle_cwd()

		self.config = './ploader.yaml'
		utils.set_config_path(self.config)

		create_case_config(self.config)
Пример #2
0
    def setUp(self):
        handle_cwd()

        self.config = './ploader.yaml'
        utils.set_config_path(self.config)

        create_case_config(self.config)
Пример #3
0
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')
Пример #4
0
	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']()
Пример #5
0
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')
Пример #6
0
    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']()
Пример #7
0
	def setUp(self):
		handle_cwd()

		self.config = 'candybar.ploader'
		utils.set_config_path(self.config)
Пример #8
0
    def setUp(self):
        handle_cwd()

        self.config = 'candybar.ploader'
        utils.set_config_path(self.config)