code: def test_deploy_map_fail(mii_config):
      mii_config = mii.config.MIIConfig(**mii_config)
      with pytest.raises(ValueError):
          mii_config.generate_replica_configs()
  
imports: import pytest
  import mii
label_desc: Use image node_id 1 for calling a global function with example usage: test_deploy_map_fail(mii_config) without return types