def testOverrideGSPath(self):
    'Test GetBaseUploadURI with default gs_path value in config.'
    self.cfg = _ExtendDefaultConfig(gs_path='gs://funkytown/foo/bar')
    expected_result = 'gs://funkytown/foo/bar/TheCoolBot'
    result = self._GetBaseUploadURI()
    self.assertEqual(expected_result, result)
    expected_result = 'gs://funkytown/foo/bar/TheNewBotId'
    result = self._GetBaseUploadURI(bot_id=self.BOT_ID)
    self.assertEqual(expected_result, result)
Test GetBaseUploadURI with default gs_path value in config.
def testOverrideGSPath(self):
    
    self.cfg = _ExtendDefaultConfig(gs_path='gs://funkytown/foo/bar')
    expected_result = 'gs://funkytown/foo/bar/TheCoolBot'
    result = self._GetBaseUploadURI()
    self.assertEqual(expected_result, result)
    expected_result = 'gs://funkytown/foo/bar/TheNewBotId'
    result = self._GetBaseUploadURI(bot_id=self.BOT_ID)
    self.assertEqual(expected_result, result)