code: def test_settings_index_replicas_with_shards_defined(monkeypatch):
      monkeypatch.setenv("ARGILLA_ES_RECORDS_INDEX_SHARDS", "100")
      monkeypatch.setenv("ARGILLA_ES_RECORDS_INDEX_REPLICAS", "2")
  
      settings = Settings()
      assert settings.es_records_index_replicas == 2
  
file_path: argilla/tests/unit/server/commons/test_settings.py
imports: import pytest
  from argilla.server.settings import Settings
  from tests.pydantic_v1 import ValidationError
label_desc: Use image node_id 3 for calling a global function with example usage: test_settings_index_replicas_with_shards_defined(monkeypatch) without return types