code: def test_sanitize_should_not_fail_if_specification_has_none_value(
      self,
  ):
      fields_to_sanitize = [
          "kind",
          "properties.disks.kind",
          "properties.metadata.kind",
      ]
  
      body = {
          "kind": "compute#instanceTemplate",
          "name": "instance",
          "properties": {"disks": None},
      }
  
      sanitizer = GcpBodyFieldSanitizer(fields_to_sanitize)
      sanitizer.sanitize(body)
  
      assert {"name": "instance", "properties": {"disks": None}} == body
  
file_path: airflow/tests/providers/google/cloud/utils/test_field_sanitizer.py
imports: from __future__ import annotations
  from copy import deepcopy
  import pytest
  from airflow.providers.google.cloud.utils.field_sanitizer import GcpBodyFieldSanitizer
label_desc: Use image node_id 10 for calling the TestGcpBodyFieldSanitizer obj's underlying member method code with example usage: obj.test_sanitize_should_not_fail_if_specification_has_none_value() without return types