tools/bdconfig/lib/google_hadoop/bdconfig_lib/config_commands_test.py
def testSystemBucketFallbackFailure(self):
    """Without default_bucket, attempts and fails to fetch system_bucket."""
    self._SetDefaultValidFlags()
    self._flag_values_copy.dry_run = False

    self._flag_values_copy.default_bucket = None
    # Default_bucket fails to be set using fs.gs.system.bucket without the
    # corresponding value already present in the xml file.
    self.assertRaises(KeyError, self._test_cmd.Run, None)
Without default_bucket, attempts and fails to fetch system_bucket.
Without default_bucket, attempts and fails to fetch system_bucket.
Without default_bucket attempts and fails to fetch system_bucket .
def testSystemBucketFallbackFailure(self):
    self._SetDefaultValidFlags()
    self._flag_values_copy.dry_run = False
    self._flag_values_copy.default_bucket = None
    self.assertRaises(KeyError, self._test_cmd.Run, None)
def testSystemBucketFallbackFailure ( self ) : self . _SetDefaultValidFlags ( ) self . _flag_values_copy . dry_run = False self . _flag_values_copy . default_bucket = None self . assertRaises ( KeyError , self . _test_cmd . Run , None )
Without default_bucket, attempts and fails to fetch system_bucket.
Without default_bucket attempts and fails to fetch system_bucket .
"""Without default_bucket, attempts and fails to fetch system_bucket.""" # Default_bucket fails to be set using fs.gs.system.bucket without the # corresponding value already present in the xml file.
self