code: def test_datasets(mock_system):
      LyftDataset("data")
      assert mock_system.call_count == 2
      assert "lyft" in mock_system.call_args_list[0][0][0]
      assert "data" in mock_system.call_args_list[0][0][0]
      assert "lyft" in mock_system.call_args_list[1][0][0]
      assert "data" in mock_system.call_args_list[1][0][0]
  
      mock_system.reset_mock()
      SemanticKITTIDataset("data")
      assert mock_system.call_count == 1
      assert "semantickitti" in mock_system.call_args_list[0][0][0]
      assert "data" in mock_system.call_args_list[0][0][0]
  
imports: from unittest.mock import patch
  import pytest
  from flash.core.utilities.imports import _TOPIC_POINTCLOUD_AVAILABLE
  from flash.pointcloud.segmentation.datasets import LyftDataset, SemanticKITTIDataset
label_desc: Use image node_id 1 for calling a global function with example usage: test_datasets(mock_system) without return types