code: def _test_send_channel_values(
      self,
      channel_y_elements: List[tuple],
      expected_operation: str,
      channel_type: ChannelType,
  ):
      # given prepared `ChannelIdWithValues`
      channel_id = "channel_id"
      channel_name = "channel_name"
      now_ms = int(time.time() * 1000)
      channel_with_values = ChannelIdWithValues(
          channel_id=channel_id,
          channel_name=channel_name,
          channel_type=channel_type.value,
          channel_namespace=ChannelNamespace.USER,
          channel_values=[
              ChannelValue(
                  x=None, y={channel_y_key: channel_y_value}, ts=None
              )
              for channel_y_key, channel_y_value in channel_y_elements
          ],
      )
  
      # invoke send_channels_values
      self.leaderboard.send_channels_values(
          self.exp_mock, [channel_with_values]
      )
  
      # expect `executeOperations` was called once with properly prepared kwargs
      expected_call_args = {
          "experimentId": "00000000-0000-0000-0000-000000000000",
          "operations": [
              {
                  "path": f"logs/{channel_name}",
                  expected_operation: {
                      "entries": [
                          {
                              "value": channel_y_value,
                              "step": None,
                              "timestampMilliseconds": now_ms,
                          }
                          for _, channel_y_value in channel_y_elements
                      ]
                  },
              }
          ],
      }
      execute_operations = (
          self.leaderboard.leaderboard_swagger_client.api.executeOperations
      )
      self.assertEqual(len(execute_operations.call_args_list), 1)
      self.assertDictEqual(
          execute_operations.call_args_list[0][1], expected_call_args
      )
  
file_path: neptune-client/tests/unit/neptune/legacy/test_alpha_integration_backend.py
imports: import time
  import unittest
  from typing import List
  import mock
  from freezegun import freeze_time
  from mock import MagicMock
  from neptune.legacy.internal.api_clients import HostedNeptuneBackendApiClient
  from neptune.legacy.internal.api_clients.hosted_api_clients.hosted_alpha_leaderboard_api_client import HostedAlphaLeaderboardApiClient
  from neptune.legacy.internal.channels.channels import ChannelIdWithValues, ChannelNamespace, ChannelType, ChannelValue
  from tests.unit.neptune.backend_test_mixin import BackendTestMixin
label_desc: Use image node_id 2 for calling the TestAlphaIntegrationNeptuneBackend obj's underlying member method code with example usage: obj._test_send_channel_values(channel_y_elements, expected_operation, channel_type) without return types