示例#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')
    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)