[openstack-dev] Usage of mox through out the Openstack project.

Mark McClain mark.mcclain at dreamhost.com
Thu Jul 25 13:59:00 UTC 2013


On Jul 25, 2013, at 4:01 AM, Julien Danjou <julien at danjou.info> wrote:

> On Wed, Jul 24 2013, Russell Bryant wrote:
> 
>> A practical approach would probably be:
>> 
>> 1) Prefer mock for new tests.
>> 
>> 2) Use suggestion #2 above to mitigate the Python 3 concern.
>> 
>> 3) Convert tests to mock over time, opportunistically, as tests are
>> being updated anyway.  (Or if someone *really* wants to take this on as
>> a project ...)
> 
> Agreed. I will -1 every new patch coming with mox inside. :-)
> 
> And I'll probably do some conversion for Oslo anyway.

The Neutron project has been enforcing this approach for about a year now.  We're down to 8 files that still rely on Mox.

mark





More information about the OpenStack-dev mailing list