Esempio n. 1
0
	def setUp(self):
		handle_cwd()

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

		create_case_config(self.config)
Esempio n. 2
0
    def setUp(self):
        handle_cwd()

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

        create_case_config(self.config)
Esempio n. 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')
Esempio n. 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']()
Esempio n. 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')
Esempio n. 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']()
Esempio n. 7
0
	def setUp(self):
		handle_cwd()

		self.config = 'candybar.ploader'
		utils.set_config_path(self.config)
Esempio n. 8
0
    def setUp(self):
        handle_cwd()

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