[Maas-devel] Tests and cluster RPC commands
Graham Binns
graham.binns at canonical.com
Tue Sep 9 10:25:48 UTC 2014
On 9 September 2014 11:14, Raphaël Badin <raphael.badin at canonical.com> wrote:
> I wondering if we couldn't have something more systematic and have this
> done, for all the available cluster RPC methods, in the base test class (and
> for every cluster created in the tests). Of course you'll have to configure
> mock objects if you're expecting a particular response from one of the RPC
> methods. But if all you need is the code not to blow up because a cluster
> RPC method has been called as a side-effect of what you're actually testing,
> this will be taken care of.
Dear gods and all that is holy, yes please.
I think we've made big strides already, but this would make life a
good deal less boiler-platey.
More information about the Maas-devel
mailing list