code: def test_deployment_config_basic():
      v1 = DeploymentVersion("1", DeploymentConfig(user_config="1"), {})
      v2 = DeploymentVersion("1", DeploymentConfig(user_config="1"), {})
      v3 = DeploymentVersion("1", DeploymentConfig(user_config="2"), {})
  
      assert v1 == v2
      assert hash(v1) == hash(v2)
      assert v1 != v3
      assert hash(v1) != hash(v3)
  
imports: import pytest
  import ray
  from ray.serve._private.config import DeploymentConfig
  from ray.serve._private.deployment_state import DeploymentVersion
label_desc: Use image node_id 4 for calling a global function with example usage: test_deployment_config_basic() without return types