Lines Matching refs:MockAnything
185 new_mock = MockAnything()
212 (method, function, etc) with a MockAnything. This can be overridden to
213 always use a MockAnything by setting use_mock_anything to True.
218 use_mock_anything: bool. True if a MockAnything should be used regardless
268 class MockAnything:
281 A new MockMethod is returned that is aware of the MockAnything's
290 A new MockMethod aware of MockAnything's state (record or replay).
303 A new MockMethod aware of MockAnything's state (record or replay).
317 return (isinstance(rhs, MockAnything) and
359 class MockObject(MockAnything, object):
372 # This is used to hack around the mixin/inheritance of MockAnything, which
374 MockAnything.__dict__['__init__'](self)