Lines Matching refs:Mock
34 hm = HardwareMap(env=mock.Mock())
167 mocked_hm.scan = mock.Mock()
168 mocked_hm.save = mock.Mock()
169 mocked_hm.load = mock.Mock(side_effect=mock_load)
170 mocked_hm.dump = mock.Mock()
171 mocked_hm.add_device = mock.Mock()
181 mocked_hm.options.persistent_hardware_map = mock.Mock()
251 hm = HardwareMap(env=mock.Mock())
303 hm = HardwareMap(env=mock.Mock())
406 mock.Mock(
413 mock.Mock(
420 mock.Mock(
427 mock.Mock(
434 mock.Mock(
667 mocked_hm.load = mock.Mock()
668 mocked_hm.dump = mock.Mock()
670 open_mock = mock.Mock(side_effect=mock_open)
671 dump_mock = mock.Mock()