Hey all!

We're using stubout from mox in some places, which means that as people
go through to remove mox, stubout calls also have to be removed.

I wanted to bring to people's attention that the fixtures library, which
we're already using pretty widely, can do this functionality very well,
so I suggest that we just use it.

There is a patch to ironic which does a stubout-ectomy replacing it with
fixtures for reference:

https://review.openstack.org/#/c/51860

The useFixture call also already hooks in to the addCleanup machinery,
so there's no need to do anything special to ensure that the MonkeyPatch
is cleaned up.

Monty

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to