<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Mocker 0.9</title>
	<atom:link href="http://blog.labix.org/2007/11/17/mocker-09/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.labix.org/2007/11/17/mocker-09</link>
	<description>by Gustavo Niemeyer</description>
	<lastBuildDate>Mon, 16 Jan 2012 12:12:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Gustavo Niemeyer</title>
		<link>http://blog.labix.org/2007/11/17/mocker-09/comment-page-1#comment-21916</link>
		<dc:creator>Gustavo Niemeyer</dc:creator>
		<pubDate>Wed, 05 Dec 2007 16:47:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labix.org/2007/11/17/mocker-09/#comment-21916</guid>
		<description>Oops.. it was incorrect indeed.  I&#039;ve fixed that, and have also renamed all &quot;mock&quot; instances in the documentation to &quot;obj&quot;, reducing a bit the volume of &quot;mock&quot; prefixes and thus the confusion.

Thanks for reporting this.</description>
		<content:encoded><![CDATA[<p>Oops.. it was incorrect indeed.  I&#8217;ve fixed that, and have also renamed all &#8220;mock&#8221; instances in the documentation to &#8220;obj&#8221;, reducing a bit the volume of &#8220;mock&#8221; prefixes and thus the confusion.</p>
<p>Thanks for reporting this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Pirnat</title>
		<link>http://blog.labix.org/2007/11/17/mocker-09/comment-page-1#comment-21915</link>
		<dc:creator>Mike Pirnat</dc:creator>
		<pubDate>Wed, 05 Dec 2007 16:05:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labix.org/2007/11/17/mocker-09/#comment-21915</guid>
		<description>I&#039;ve been using PyMock a lot, and I&#039;m very happy to see that Mocker addresses a lot of my complaints about PyMock, not the least of which is documentation---thanks for the clear examples in the tutorial!

There appears to be an error in the first example in the tutorial, though.  Instead of &quot;mock.restore()&quot; and &quot;mock.verify()&quot;, I believe it should be &quot;mocker.restore()&quot; and &quot;mocker.verify()&quot; since the mock objects themselves seem to be upset about receiving unexpected expressions if you try to call these methods on them instead of on the Mocker instance.

Cheers!</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been using PyMock a lot, and I&#8217;m very happy to see that Mocker addresses a lot of my complaints about PyMock, not the least of which is documentation&#8212;thanks for the clear examples in the tutorial!</p>
<p>There appears to be an error in the first example in the tutorial, though.  Instead of &#8220;mock.restore()&#8221; and &#8220;mock.verify()&#8221;, I believe it should be &#8220;mocker.restore()&#8221; and &#8220;mocker.verify()&#8221; since the mock objects themselves seem to be upset about receiving unexpected expressions if you try to call these methods on them instead of on the Mocker instance.</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex dante</title>
		<link>http://blog.labix.org/2007/11/17/mocker-09/comment-page-1#comment-20861</link>
		<dc:creator>alex dante</dc:creator>
		<pubDate>Fri, 23 Nov 2007 03:47:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labix.org/2007/11/17/mocker-09/#comment-20861</guid>
		<description>Awesome, thank you!</description>
		<content:encoded><![CDATA[<p>Awesome, thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gustavo Niemeyer</title>
		<link>http://blog.labix.org/2007/11/17/mocker-09/comment-page-1#comment-20818</link>
		<dc:creator>Gustavo Niemeyer</dc:creator>
		<pubDate>Thu, 22 Nov 2007 13:24:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labix.org/2007/11/17/mocker-09/#comment-20818</guid>
		<description>The problem here is that IPython performs some basic inspection in the mock object, which ends up recording an action.  I&#039;ll release a new version of Mocker which fixes this problem.

Thanks for reporting it.</description>
		<content:encoded><![CDATA[<p>The problem here is that IPython performs some basic inspection in the mock object, which ends up recording an action.  I&#8217;ll release a new version of Mocker which fixes this problem.</p>
<p>Thanks for reporting it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex dante</title>
		<link>http://blog.labix.org/2007/11/17/mocker-09/comment-page-1#comment-20796</link>
		<dc:creator>alex dante</dc:creator>
		<pubDate>Thu, 22 Nov 2007 02:47:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labix.org/2007/11/17/mocker-09/#comment-20796</guid>
		<description>Sorry, the output lines got eaten, they&#039;re both displaying repr output that reads: &quot;mocker.Mock object at 0xb78e058c&quot;

cheers</description>
		<content:encoded><![CDATA[<p>Sorry, the output lines got eaten, they&#8217;re both displaying repr output that reads: &#8220;mocker.Mock object at 0xb78e058c&#8221;</p>
<p>cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex dante</title>
		<link>http://blog.labix.org/2007/11/17/mocker-09/comment-page-1#comment-20795</link>
		<dc:creator>alex dante</dc:creator>
		<pubDate>Thu, 22 Nov 2007 02:46:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labix.org/2007/11/17/mocker-09/#comment-20795</guid>
		<description>Hey there. Very impressed with mocker, it&#039;s great to work with, although I initially thought there was an issue with it due to it&#039;s behaviour under iPython:

In [1]: from mocker import Mocker
In [2]: mocker = Mocker()
In [3]: mock = mocker.mock()
In [4]: mock.test1()
Out[4]: 
In [5]: mocker.result(&#039;test1&#039;)
In [6]: mocker.replay()
In [7]: mock.test1()
Out[7]: 

This behaves correctly under the bare interpreter, although it also outputs the &quot;&lt;mocker.Mock object ...&quot; line (is this correct? it&#039;s not shown in the docs...). Any ideas on how I can get mocker running properly under iPython?

Thanks for an incredibly handy module!</description>
		<content:encoded><![CDATA[<p>Hey there. Very impressed with mocker, it&#8217;s great to work with, although I initially thought there was an issue with it due to it&#8217;s behaviour under iPython:</p>
<p>In [1]: from mocker import Mocker<br />
In [2]: mocker = Mocker()<br />
In [3]: mock = mocker.mock()<br />
In [4]: mock.test1()<br />
Out[4]:<br />
In [5]: mocker.result(&#8216;test1&#8242;)<br />
In [6]: mocker.replay()<br />
In [7]: mock.test1()<br />
Out[7]: </p>
<p>This behaves correctly under the bare interpreter, although it also outputs the &#8220;&lt;mocker.Mock object &#8230;&#8221; line (is this correct? it&#8217;s not shown in the docs&#8230;). Any ideas on how I can get mocker running properly under iPython?</p>
<p>Thanks for an incredibly handy module!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

