code: def test_get_http_status_code():
      assert (
          MlflowException("test default").get_http_status_code() == 500
      )
      assert (
          MlflowException(
              "code not in map", error_code=IO_ERROR
          ).get_http_status_code()
          == 500
      )
      assert (
          MlflowException(
              "test", error_code=INVALID_STATE
          ).get_http_status_code()
          == 500
      )
      assert (
          MlflowException(
              "test", error_code=ENDPOINT_NOT_FOUND
          ).get_http_status_code()
          == 404
      )
      assert (
          MlflowException(
              "test", error_code=INVALID_PARAMETER_VALUE
          ).get_http_status_code()
          == 400
      )
      assert (
          MlflowException(
              "test", error_code=INTERNAL_ERROR
          ).get_http_status_code()
          == 500
      )
      assert (
          MlflowException(
              "test", error_code=RESOURCE_ALREADY_EXISTS
          ).get_http_status_code()
          == 400
      )
  
file_path: mlflow/tests/test_exceptions.py
imports: import json
  from mlflow.exceptions import MlflowException, RestException
  from mlflow.protos.databricks_pb2 import ENDPOINT_NOT_FOUND, INTERNAL_ERROR, INVALID_PARAMETER_VALUE, INVALID_STATE, IO_ERROR, RESOURCE_ALREADY_EXISTS
label_desc: Use image node_id 4 for calling a global function with example usage: test_get_http_status_code() without return types