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
1=== modified file 'mocker.py'
2--- mocker.py 2010-09-18 20:45:55 +0000
3+++ mocker.py 2011-02-06 20:49:01 +0000
4@@ -488,8 +488,8 @@
5 mocker.result("Hi!")
6 mocker.replay()
7 assert mock.hello() == "Hi!"
8- mock.restore()
9- mock.verify()
10+ mocker.restore()
11+ mocker.verify()
12
13 In this short excerpt a mock object is being created, then an
14 expectation of a call to the C{hello()} method was recorded, and

Subscribers

People subscribed via source and target branches

to status/vote changes: