Searched refs:create_mock_class (Results 1 – 21 of 21) 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,27 self.host.job.sysinfo = self.god.create_mock_class(29 self.host.job.profilers = self.god.create_mock_class(209 cfile = self.god.create_mock_class(file, "file")
15 self.host = self.god.create_mock_class(hosts.RemoteHost, "host")16 self.host.bootloader = self.god.create_mock_class(
24 host = self.god.create_mock_class(hosts.RemoteHost, "host")25 host.bootloader = self.god.create_mock_class(bootloader.Bootloader,
12 self.host = self.god.create_mock_class(hosts.RemoteHost, "host")
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 …]
16 bootloader = god.create_mock_class(boottool.boottool, "boottool")49 job_ = self.god.create_mock_class(job.job, "job")51 self.kernel.job.bootloader = self.god.create_mock_class(132 self.job = self.god.create_mock_class(job.job, "job")133 self.job.bootloader = self.god.create_mock_class(boottool.boottool,180 self.logfile = self.god.create_mock_class(file, "file")593 mock_file = self.god.create_mock_class(file, "file")
183 my_harness = self.god.create_mock_class(harness.harness,
17 self.manager = self.god.create_mock_class(migrate.MigrationManager,
40 self._fake_backend = self.god.create_mock_class(
26 return self.god.create_mock_class(hosts.RemoteHost, "host")
53 installableObj = self.god.create_mock_class(installable,
19 self._mock_host = self.god.create_mock_class(ssh_host.SSHHost,
40 self._mock_host = self.god.create_mock_class(ssh_host.SSHHost,
561 self.mock_drone_manager = self.god.create_mock_class(730 self._dispatcher = self.god.create_mock_class(monitor_db.Dispatcher,739 task = self.god.create_mock_class(agent_task.AgentTask, name)1256 hqe = self.god.create_mock_class(scheduler_models.HostQueueEntry,
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)
267 dispatcher = self.god.create_mock_class(monitor_db.BaseDispatcher,269 agent = self.god.create_mock_class(monitor_db.Agent, 'Agent')
41 self._mock_host = self.god.create_mock_class(ssh_host.SSHHost,
446 src_file = self.god.create_mock_class(file, "file")447 dest_file = self.god.create_mock_class(file, "file")