Home | History | Annotate | Download | only in python

Lines Matching refs:Replay

22 Mox works in the record-replay-verify paradigm.  When you first create
28 Once you have set up the expected mock behavior, you put it in replay
51 # Put mocks in replay mode
190 """Set all mock objects to replay mode."""
235 def Replay(*args):
236 """Put mocks into Replay mode.
239 # args is any number of mocks to put into replay mode.
282 state (record or replay). The call will be recorded or replayed
290 A new MockMethod aware of MockAnything's state (record or replay).
303 A new MockMethod aware of MockAnything's state (record or replay).
355 # Make sure we are in setup mode, not replay mode
395 MockObject's state (record or replay). The call will be recorded
404 of the mock (record or replay).
435 Expected return value in replay mode. A MockMethod object for the
436 __setitem__ method that has already been called if not in replay mode.
450 # If we are in replay mode then simply call the mock __setitem__ method.
466 Expected return value in replay mode. A MockMethod object for the
467 __getitem__ method that has already been called if not in replay mode.
481 # If we are in replay mode then simply call the mock __getitem__ method.
550 is in replay mode, this will pop a MockMethod off the top of the queue and
579 'Did you remember to put your mocks in replay mode?' % name)