code: def test_deploy_batch_job_bar(self):
      deploy_config = DeployConfig(
          "gce", "bar", "internal.organization.tld", "/bar"
      )
  
      self.assertEqual(deploy_config.location(), "gce")
      self.assertEqual(deploy_config.default_namespace(), "bar")
      self.assertEqual(deploy_config.scheme(), "http")
      self.assertEqual(deploy_config.auth_session_cookie_name(), "sesh")
  
      self.assertEqual(deploy_config.base_path("foo"), "/bar/foo")
      self.assertEqual(
          deploy_config.base_url("foo"), "http://internal.hail/bar/foo"
      )
      self.assertEqual(
          deploy_config.url("foo", "/moo"),
          "http://internal.hail/bar/foo/moo",
      )
      self.assertEqual(
          deploy_config.external_url("foo", "/moo"),
          "https://internal.organization.tld/bar/foo/moo",
      )
  
file_path: hail/hail/python/test/hailtop/config/test_deploy_config.py
imports: import unittest
  from hailtop.config.deploy_config import DeployConfig
label_desc: Use image node_id 6 for calling the Test obj's underlying member method code with example usage: obj.test_deploy_batch_job_bar() without return types