Searched refs:stub_function (Results 1 – 20 of 20) sorted by relevance
38 self.god.stub_function(utils, "get_server_dir")39 self.god.stub_function(utils, "run")40 self.god.stub_function(utils, "get")41 self.god.stub_function(utils, "read_keyval")42 self.god.stub_function(utils, "write_keyval")43 self.god.stub_function(utils, "system")44 self.god.stub_function(tempfile, "mkstemp")45 self.god.stub_function(tempfile, "mktemp")46 self.god.stub_function(os, "getcwd")47 self.god.stub_function(os, "system")[all …]
65 self.god.stub_function(subcommand.os.path, 'abspath')66 self.god.stub_function(subcommand.os.path, 'exists')67 self.god.stub_function(subcommand.os, 'mkdir')84 self.god.stub_function(subcommand.os, 'fork')102 self.god.stub_function(subcommand.os, 'pipe')103 self.god.stub_function(subcommand.os, 'fork')104 self.god.stub_function(subcommand.os, 'close')105 self.god.stub_function(subcommand.os, 'write')106 self.god.stub_function(six.moves.cPickle, 'dumps')107 self.god.stub_function(subcommand.os, '_exit')[all …]
25 self.god.stub_function(utils, 'send_email')
153 self.god.stub_function(os.path, 'exists')154 self.god.stub_function(os.path, 'isdir')155 self.god.stub_function(os, 'makedirs')156 self.god.stub_function(os, 'mkdir')157 self.god.stub_function(os, 'remove')158 self.god.stub_function(shutil, 'rmtree')159 self.god.stub_function(shutil, 'copyfile')160 self.god.stub_function(job, 'open')161 self.god.stub_function(utils, 'system')162 self.god.stub_function(utils, 'drop_caches')[all …]
13 self.god.stub_function(os_dep, "command")20 self.god.stub_function(os.path, "isfile")21 self.god.stub_function(utils, "system_output")22 self.god.stub_function(utils, "system")104 self.god.stub_function(package, "info")105 self.god.stub_function(utils, "system")130 self.god.stub_function(utils, "system_output")
134 self.god.stub_function(os.path, 'exists')135 self.god.stub_function(os.path, 'isdir')136 self.god.stub_function(os, 'makedirs')137 self.god.stub_function(os, 'mkdir')138 self.god.stub_function(os, 'remove')139 self.god.stub_function(shutil, 'rmtree')140 self.god.stub_function(shutil, 'copyfile')141 self.god.stub_function(setup_job, 'open')142 self.god.stub_function(utils, 'system')
74 self.god.stub_function(os, 'popen')111 self.god.stub_function(partition, 'partition')
16 self.god.stub_function(fsinfo, 'open')
33 self.god.stub_function(socket, 'socket')37 self.god.stub_function(sock, 'connect')60 self.god.stub_function(self.mock_scpi.socket, 'send')90 self.god.stub_function(self.mock_scpi.socket, 'send')109 self.god.stub_function(self.mock_scpi.socket, 'send')135 self.god.stub_function(self.mock_scpi.socket, 'send')148 self.god.stub_function(self.mock_scpi.socket, 'send')162 self.god.stub_function(self.mock_scpi.socket, 'send')
35 self.god.stub_function(self.mock_rf_switch.socket, 'send')52 self.god.stub_function(self.mock_rf_switch.socket, 'send')195 self.god.stub_function(self.mock_rf_switch.socket, 'send')
66 self.god.stub_function(self.test, 'run_once_profiling')67 self.god.stub_function(self.test, 'postprocess')68 self.god.stub_function(self.test, 'process_failed_constraints')73 self.god.stub_function(self.test, 'drop_caches_between_iterations')74 self.god.stub_function(self.test, 'run_once')75 self.god.stub_function(self.test, 'postprocess_iteration')76 self.god.stub_function(self.test, 'analyze_perf_constraints')95 self.god.stub_function(self.test, 'drop_caches_between_iterations')96 self.god.stub_function(self.test, 'run_once')121 self.god.stub_function(self.test, '_call_run_once')[all …]
38 self.god.stub_function(utils, "open")121 self.god.stub_function(utils, "open")159 self.god.stub_function(utils, "open")178 self.god.stub_function(utils, "open")179 self.god.stub_function(os.path, "isdir")180 self.god.stub_function(os.path, "exists")280 self.god.stub_function(utils, "open")281 self.god.stub_function(os.path, "isdir")299 self.god.stub_function(test_file, "close")452 self.god.stub_function(utils, "urlopen")[all …]
29 self.god.stub_function(os.path, 'isdir')30 self.god.stub_function(base_classes.Host, 'run')
48 self._god.stub_function(self._wbkupdate_obj,75 self._god.stub_function(self._wbkupdate_obj,
20 self.god.stub_function(self.manager, 'execute')21 self.god.stub_function(self.manager, 'get_db_name')
27 self.god.stub_function(time, 'sleep')
19 self.god.stub_function(global_config.global_config,28 self.god.stub_function(utils, "get_server_dir")
22 self.god.stub_function(models.job, 'read_keyval')23 self.god.stub_function(version_0.job, 'find_hostname')24 self.god.stub_function(models.test, 'parse_host_keyval')
47 self.god.stub_function(os.path, "exists")
409 def stub_function(self, namespace, symbol): member in mock_god