code: def test_tb_presigned_url_not_returned_without_presigned_flag(
      mock_client,
  ):
      mock_client.return_value = boto3.client("sagemaker")
  
      url = TensorBoardApp(TEST_REGION).get_app_url(
          domain_id=TEST_DOMAIN,
          user_profile_name=TEST_USER_PROFILE,
          create_presigned_domain_url=False,
          open_in_default_web_browser=False,
      )
      assert url == BASE_URL_NON_STUDIO_FORMAT.format(
          region=TEST_REGION
      )
  
imports: from __future__ import absolute_import
  import json
  from unittest.mock import patch, Mock, mock_open, PropertyMock
  import boto3
  import botocore
  import pytest
  from sagemaker.interactive_apps.tensorboard import TensorBoardApp
label_desc: Use image node_id 6 for calling a global function with example usage: test_tb_presigned_url_not_returned_without_presigned_flag(mock_client) without return types