def testDefaultGSPath(self):
    'Test GetBaseUploadURI with default gs_path value in config.'
    self.cfg = _ExtendDefaultConfig(gs_path=config_lib.GS_PATH_DEFAULT)
    expected_result = ('%s/%s' % (config_lib.GetConfig().params.ARCHIVE_URL, DEFAULT_BOT_NAME))
    result = self._GetBaseUploadURI()
    self.assertEqual(expected_result, result)
    expected_result = ('%s/%s' % (config_lib.GetConfig().params.ARCHIVE_URL, self.BOT_ID))
    result = self._GetBaseUploadURI(bot_id=self.BOT_ID)
    self.assertEqual(expected_result, result)
Test GetBaseUploadURI with default gs_path value in config.
def testDefaultGSPath(self):
    
    self.cfg = _ExtendDefaultConfig(gs_path=config_lib.GS_PATH_DEFAULT)
    expected_result = ('%s/%s' % (config_lib.GetConfig().params.ARCHIVE_URL, DEFAULT_BOT_NAME))
    result = self._GetBaseUploadURI()
    self.assertEqual(expected_result, result)
    expected_result = ('%s/%s' % (config_lib.GetConfig().params.ARCHIVE_URL, self.BOT_ID))
    result = self._GetBaseUploadURI(bot_id=self.BOT_ID)
    self.assertEqual(expected_result, result)