Merge lp:~themolok/mocker/mocker-doc-fix into lp:~niemeyer/mocker/trunk

Proposed by Alessio Bolognino
Status: Needs review
Proposed branch: lp:~themolok/mocker/mocker-doc-fix
Merge into: lp:~niemeyer/mocker/trunk
Diff against target: 14 lines (+2/-2)
1 file modified
mocker.py (+2/-2)
To merge this branch: bzr merge lp:~themolok/mocker/mocker-doc-fix
Reviewer Review Type Date Requested Status
Gustavo Niemeyer Pending
Review via email: mp+48738@code.launchpad.net

Description of the change

Hi, I just started using mocker, but I think I found a bug in the docs.
This should fix it.

To post a comment you must log in.

Unmerged revisions

74. By Alessio Bolognino

little fix in docs

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'mocker.py'
--- mocker.py 2010-09-18 20:45:55 +0000
+++ mocker.py 2011-02-06 20:49:01 +0000
@@ -488,8 +488,8 @@
488 mocker.result("Hi!")488 mocker.result("Hi!")
489 mocker.replay()489 mocker.replay()
490 assert mock.hello() == "Hi!"490 assert mock.hello() == "Hi!"
491 mock.restore()491 mocker.restore()
492 mock.verify()492 mocker.verify()
493493
494 In this short excerpt a mock object is being created, then an494 In this short excerpt a mock object is being created, then an
495 expectation of a call to the C{hello()} method was recorded, and495 expectation of a call to the C{hello()} method was recorded, and

Subscribers

People subscribed via source and target branches

to status/vote changes: