<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 12, 2013 at 4:49 PM, Mark McLoughlin <span dir="ltr"><<a href="mailto:markmc@redhat.com" target="_blank">markmc@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, 2013-11-12 at 16:42 -0500, Chuck Short wrote:<br>
><br>
> Hi<br>
><br>
><br>
> On Tue, Nov 12, 2013 at 4:24 PM, Mark McLoughlin <<a href="mailto:markmc@redhat.com">markmc@redhat.com</a>><br>
> wrote:<br>
>         On Tue, 2013-11-12 at 13:11 -0800, Shawn Hartsock wrote:<br>
>         > Maybe we should have some 60% rule... that is: If you change<br>
>         more than<br>
>         > half of a test... you should *probably* rewrite the test in<br>
>         Mock.<br>
><br>
><br>
>         A rule needs a reasoning attached to it :)<br>
><br>
>         Why do we want people to use mock?<br>
><br>
>         Is it really for Python3? If so, I assume that means we've<br>
>         ruled out the<br>
>         python3 port of mox? (Ok by me, but would be good to hear why)<br>
>         And, if<br>
>         that's the case, then we should encourage whoever wants to<br>
>         port mox<br>
>         based tests to mock.<br>
><br>
><br>
><br>
> The upstream maintainer is not going to port mox to python3 so we have<br>
> a fork of mox called mox3. Ideally, we would drop the usage of mox in<br>
> favour of mock so we don't have to carry a forked mox.<br>
<br>
</div>Isn't that the opposite conclusion you came to here:<br>
<br>
<a href="http://lists.openstack.org/pipermail/openstack-dev/2013-July/012474.html" target="_blank">http://lists.openstack.org/pipermail/openstack-dev/2013-July/012474.html</a><br>
<br>
i.e. using mox3 results in less code churn?<br>
<span class="HOEnZb"><font color="#888888"><br>
Mark.<br>
<br>
<br>
</font></span></blockquote></div><br></div><div class="gmail_extra">Yes that was my original position but I though we agreed in thread (further on) that we would use mox3 and then migrate to mock further on.<br><br>Regards<br>
chuck<br></div></div>