Home
last modified time | relevance | path

Searched refs:stub_function (Results 1 – 25 of 33) sorted by relevance

12

/external/autotest/server/
Dautotest_unittest.py38 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 …]
Dsubcommand_unittest.py58 self.god.stub_function(subcommand.os.path, 'abspath')
59 self.god.stub_function(subcommand.os.path, 'exists')
60 self.god.stub_function(subcommand.os, 'mkdir')
77 self.god.stub_function(subcommand.os, 'fork')
95 self.god.stub_function(subcommand.os, 'pipe')
96 self.god.stub_function(subcommand.os, 'fork')
97 self.god.stub_function(subcommand.os, 'close')
98 self.god.stub_function(subcommand.os, 'write')
99 self.god.stub_function(subcommand.cPickle, 'dumps')
100 self.god.stub_function(subcommand.os, '_exit')
[all …]
Dfrontend_unittest.py25 self.god.stub_function(utils, 'send_email')
/external/autotest/client/bin/
Djob_unittest.py151 self.god.stub_function(os.path, 'exists')
152 self.god.stub_function(os.path, 'isdir')
153 self.god.stub_function(os, 'makedirs')
154 self.god.stub_function(os, 'mkdir')
155 self.god.stub_function(os, 'remove')
156 self.god.stub_function(shutil, 'rmtree')
157 self.god.stub_function(shutil, 'copyfile')
158 self.god.stub_function(job, 'open')
159 self.god.stub_function(utils, 'system')
160 self.god.stub_function(utils, 'drop_caches')
[all …]
Dpackage_unittest.py13 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")
Dsetup_job_unittest.py134 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')
Dpartition_unittest.py69 self.god.stub_function(os, 'popen')
106 self.god.stub_function(partition, 'partition')
Dfsinfo_unittest.py12 self.god.stub_function(fsinfo, 'open')
/external/autotest/server/cros/network/rf_switch/
Dscpi_unittest.py33 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')
Drf_switch_unittest.py35 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')
/external/autotest/client/common_lib/
Dtest_unittest.py51 self.god.stub_function(self.test, 'run_once_profiling')
52 self.god.stub_function(self.test, 'postprocess')
53 self.god.stub_function(self.test, 'process_failed_constraints')
58 self.god.stub_function(self.test, 'drop_caches_between_iterations')
59 self.god.stub_function(self.test, 'run_once')
60 self.god.stub_function(self.test, 'postprocess_iteration')
61 self.god.stub_function(self.test, 'analyze_perf_constraints')
80 self.god.stub_function(self.test, 'drop_caches_between_iterations')
81 self.god.stub_function(self.test, 'run_once')
106 self.god.stub_function(self.test, '_call_run_once')
[all …]
Dutils_unittest.py33 self.god.stub_function(utils, "open")
116 self.god.stub_function(utils, "open")
154 self.god.stub_function(utils, "open")
173 self.god.stub_function(utils, "open")
174 self.god.stub_function(os.path, "isdir")
175 self.god.stub_function(os.path, "exists")
275 self.god.stub_function(utils, "open")
276 self.god.stub_function(os.path, "isdir")
294 self.god.stub_function(test_file, "close")
447 self.god.stub_function(utils, "urlopen")
[all …]
/external/autotest/client/bin/net/
Dnet_utils_unittest.py19 self.god.stub_function(utils, "system")
20 self.god.stub_function(utils, "system_output")
21 self.god.stub_function(utils, "module_is_loaded")
22 self.god.stub_function(net_utils, "open")
23 self.god.stub_function(time, 'sleep')
84 self.god.stub_function(socket, 'socket')
88 self.god.stub_function(s, 'bind')
89 self.god.stub_function(s, 'settimeout')
210 self.god.stub_function(os, 'listdir')
250 self.god.stub_function(os, 'listdir')
[all …]
Dnet_tc_unittest.py15 self.god.stub_function(utils, "system")
16 self.god.stub_function(utils, "system_output")
/external/autotest/scheduler/
Dagent_task_unittest.py40 self.god.stub_function(system_utils, 'get_drones')
42 self.god.stub_function(models.DroneSet, 'drone_sets_enabled')
57 self.god.stub_function(system_utils, 'get_drones')
59 self.god.stub_function(models.DroneSet, 'drone_sets_enabled')
Ddrone_manager_unittest.py86 self.god.stub_function(drones, 'get_drone')
242 self.god.stub_function(results_drone, 'set_autotest_install_dir')
359 self.god.stub_function(drones.drone_utility, 'create_host')
381 self.god.stub_function(drones, 'get_drone')
489 self.god.stub_function(drones.drone_utility, 'create_host')
Ddrone_utility_unittest.py24 self.god.stub_function(drone_utility, '_get_process_info')
26 self.god.stub_function(drone_utility, '_process_has_dark_mark')
Dthread_lib_unittest.py43 self.god.stub_function(drones.drone_utility, 'create_host')
155 self.god.stub_function(task_queue, 'wait_on_drones')
Dmonitor_db_unittest.py894 self.god.stub_function(models.DroneSet, 'drone_sets_enabled')
940 self.god.stub_function(task, '_user_or_global_default_drone_set')
974 self.god.stub_function(models.DroneSet, 'drone_sets_enabled')
975 self.god.stub_function(task, '_user_or_global_default_drone_set')
992 self.god.stub_function(models.DroneSet, 'get_default')
Ddrones_unittest.py22 self.god.stub_function(drones.drone_utility, 'create_host')
/external/autotest/database/
Ddb_utils_unittest.py20 self.god.stub_function(self.manager, 'execute')
21 self.god.stub_function(self.manager, 'get_db_name')
/external/autotest/client/common_lib/hosts/
Dbase_classes_unittest.py29 self.god.stub_function(os.path, 'isdir')
30 self.god.stub_function(base_classes.Host, 'run')
/external/autotest/client/tests/wb_kupdate/
Dwb_kupdate_unittest.py48 self._god.stub_function(self._wbkupdate_obj,
75 self._god.stub_function(self._wbkupdate_obj,
/external/autotest/server/hosts/
Dbase_classes_unittest.py19 self.god.stub_function(global_config.global_config,
28 self.god.stub_function(utils, "get_server_dir")
/external/autotest/tko/parsers/
Dversion_0_unittest.py22 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')

12