juju/juju — pull request #664 by axw (2014-09-03 08:08:42+00:00)
Title: api/provisioner: mock responses in FindTools tests

Introduce a function for patching the FacadeCaller's
FacadeCall method, so the FindTools API calls can
be tested without an API server. This is needed to
avoid complicating the tests further when we change
over to storing tools in state.