Searched refs:create_mock_class (Results 1 – 16 of 16) sorted by relevance
75 m1 = god.create_mock_class(A, "A")77 m2 = god.create_mock_class(B, "B")122 m3 = god.create_mock_class(D, "D")
350 def create_mock_class(self, cls, name, default_ret_val=None): member in mock_god
21 self.host = self.god.create_mock_class(hosts.RemoteHost, "host")23 self.host.job = self.god.create_mock_class(server_job.server_job,26 self.host.job.sysinfo = self.god.create_mock_class(28 self.host.job.profilers = self.god.create_mock_class(207 cfile = self.god.create_mock_class(file, "file")
260 cmd.result_pickle = self.god.create_mock_class(file, 'file')261 return self.god.create_mock_class(cmd, 'subcommand')
220 f = self.god.create_mock_class(file, 'file')227 f = self.god.create_mock_class(file, 'file')236 f = self.god.create_mock_class(file, 'file')254 f = self.god.create_mock_class(file, 'file')285 f = self.god.create_mock_class(file, 'file')710 f = self.god.create_mock_class(file, 'file')842 f = self.god.create_mock_class(file, 'file')886 s = self.god.create_mock_class(socket.socket, "socket")1018 s = self.god.create_mock_class(socket.socket, "socket")1058 s = self.god.create_mock_class(socket.socket, "socket")[all …]
17 self.manager = self.god.create_mock_class(migrate.MigrationManager,
40 self._fake_backend = self.god.create_mock_class(
20 self._mock_host = self.god.create_mock_class(ssh_host.SSHHost,
40 self._mock_host = self.god.create_mock_class(ssh_host.SSHHost,
528 self.mock_drone_manager = self.god.create_mock_class(697 self._dispatcher = self.god.create_mock_class(monitor_db.Dispatcher,706 task = self.god.create_mock_class(agent_task.AgentTask, name)1041 hqe = self.god.create_mock_class(scheduler_models.HostQueueEntry,
267 dispatcher = self.god.create_mock_class(monitor_db.Dispatcher,269 agent = self.god.create_mock_class(monitor_db.Agent, 'Agent')
376 mock_host = self.god.create_mock_class(self._DRONE_HOST, mock_hostname)506 mock_host = self.god.create_mock_class(self._DRONE_HOST, mock_hostname)
41 self._mock_host = self.god.create_mock_class(ssh_host.SSHHost,
43 installableObj = self.god.create_mock_class(installable,
450 src_file = self.god.create_mock_class(file, "file")451 dest_file = self.god.create_mock_class(file, "file")
185 my_harness = self.god.create_mock_class(harness.harness,