Part of lp.code.model.tests
BranchHostingClient
We don't currently do integration testing against a real hosting service, but we at least check that we're sending the right requests.