def METHOD_NAME():
    """Test endpoint configuration in cortxs3."""
    config = CORTXS3Config()
    config.s3confstore.set_config('cortx_s3>consumer_endpoint', 'http://127.0.0.1:28049', False)
    s3_endpoint = config.s3confstore.get_config('cortx_s3>consumer_endpoint')
    assert s3_endpoint == "http://127.0.0.1:28049"