Searched refs:configure_mock (Results 1 – 14 of 14) sorted by relevance
37 mock_status.configure_mock(phase=phase, host_ip=host_ip)40 mock_metadata.configure_mock(name=name)43 mock_item.configure_mock(status=mock_status, metadata=mock_metadata)
26 like configure_mock(). Patch by Kasia Jachim.
463 m.configure_mock(**{'__str__.return_value': "14"})
888 mock.configure_mock(**kwargs)
528 m.configure_mock(**{'__str__.return_value': "14"})
800 mock.configure_mock(**kwargs)
510 self.configure_mock(**kwargs)631 def configure_mock(self, **kwargs): member in NonCallableMock
416 self.configure_mock(**kwargs)547 def configure_mock(self, **kwargs): member in NonCallableMock
556 configure_mock(). Patch by Kasia Jachim.
263 :meth:`configure_mock` method for details.414 .. method:: configure_mock(**kwargs)424 >>> mock.configure_mock(**attrs)445 :meth:`configure_mock` exists to make it easier to do configuration970 :meth:`~Mock.configure_mock`::973 >>> mock.configure_mock(name='my_name')
496 We can do that in a slightly nicer way using the :meth:`~Mock.configure_mock`503 >>> mock_backend.configure_mock(**config)
420 self.configure_mock(**kwargs)563 def configure_mock(self, **kwargs): member in NonCallableMock
533 self.configure_mock(**kwargs)671 def configure_mock(self, **kwargs): member in NonCallableMock
723 like configure_mock(). Patch by Kasia Jachim.