'Tests that ComputeHostNotFound is raised if passed a compute node
uuid but we can\'t send it on the 1.38 version.'

def test_compute_node_get_too_old(self):

    with mock.patch.object(self.cells_rpcapi.client, 'can_send_version', return_value=False) as can_send_version_mock:
        self.assertRaises(exception.ComputeHostNotFound, self.cells_rpcapi.compute_node_get, self.fake_context, uuids.compute_id)
    can_send_version_mock.assert_called_once_with('1.38')
