code: def test_infer_calls_upload_correctly(
      self, mock_from_content, mock_distributions
  ):
      single_dist = MagicMock()
      single_dist.metadata = {
          "Name": "some_dependency",
          "Version": "1.0.0",
      }
      mock_distributions.return_value = itertools.chain([single_dist])
      InferDependenciesStrategy().log_dependencies(run=MagicMock())
  
      mock_distributions.assert_called_once()
      mock_from_content.assert_called_once_with(
          "some_dependency==1.0.0"
      )
  
file_path: neptune-client/tests/unit/neptune/new/internal/utils/test_dependency_tracking.py
imports: import itertools
  from unittest.mock import MagicMock, patch
  import pytest
  from neptune.internal.utils.dependency_tracking import FileDependenciesStrategy, InferDependenciesStrategy
label_desc: Use image node_id 1 for calling the TestDependencyTracking obj's underlying member method code with example usage: obj.test_infer_calls_upload_correctly(mock_from_content, mock_distributions) without return types