code: def test_search_keys_validation(requests_mock: Mocker):
      url = "http://fake_url2"
      mock_default_requests(requests_mock, url)
  
      error_message = bundle.get("date_and_datetime_simultanious")
      with pytest.raises(Exception, match=error_message):
          FeaturesEnricher(
              search_keys={
                  "d1": SearchKey.DATE,
                  "dt2": SearchKey.DATETIME,
              },
              endpoint=url,
              logs_enabled=False,
          )
  
      error_message = bundle.get("postal_code_without_country")
      with pytest.raises(Exception, match=error_message):
          FeaturesEnricher(
              search_keys={"postal_code": SearchKey.POSTAL_CODE},
              endpoint=url,
              logs_enabled=False,
          )
  
imports: import os
  from datetime import date
  from typing import List, Optional
  import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
  from requests_mock.mocker import Mocker
  from upgini import FeaturesEnricher, SearchKey
  from upgini.dataset import Dataset
  from upgini.errors import ValidationError
  from upgini.http import _RestClient
  from upgini.metadata import CVType, FeaturesMetadataV2, HitRateMetrics, ModelEvalSet, ModelTaskType, ProviderTaskMetadataV2, RuntimeParameters
  from upgini.resource_bundle import bundle
  from upgini.search_task import SearchTask
  from upgini.utils.datetime_utils import DateTimeSearchKeyConverter
  from .utils import mock_default_requests, mock_get_metadata, mock_get_task_metadata_v2, mock_initial_and_validation_summary, mock_initial_progress, mock_initial_search, mock_initial_summary, mock_raw_features, mock_validation_progress, mock_validation_raw_features, mock_validation_search, mock_validation_summary
label_desc: Use image node_id 1 for calling a global function with example usage: test_search_keys_validation(requests_mock) without return types