'Test sending old host RPC parameter instead of backend.'

@mock.patch('oslo_messaging.RPCClient.can_send_version', side_effect=(True, False))
def test_notify_service_capabilities_host(self, can_send_version_mock):

    capabilities = {'host': 'fake_host', 'total': '10.01'}
    self._test_rpc_api('notify_service_capabilities', rpc_method='cast', service_name='fake_name', server='fake_host', expected_kwargs_diff={'host': 'fake_host'}, backend='fake_host', capabilities=capabilities, version='3.1')
