← Back to team overview

maas-devel team mailing list archive

Re: Tests and cluster RPC commands

 

On 9 September 2014 11:14, Raphaël Badin <raphael.badin@xxxxxxxxxxxxx> 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.


References