tools/bdconfig/lib/google_hadoop/bdconfig_lib/xml_config_commands_test.py
def testFlagValidation(self):
    """Test basic flag failures for configure_hadoop."""
    # Validators get invoked on __setattr__ (overload for '=').
    failure_modes = [
        ('configuration_file', None),
        ('source_configuration_file', None),
        ('source_configuration_file', 'unreadable_file'),
    ]
    self._ValidateFlagFailures(failure_modes)
Test basic flag failures for configure_hadoop.
Test basic flag failures for configure_hadoop.
Test basic flag failures for configure_hadoop .
def testFlagValidation(self):
    failure_modes = [
        ('configuration_file', None),
        ('source_configuration_file', None),
        ('source_configuration_file', 'unreadable_file'),
    ]
    self._ValidateFlagFailures(failure_modes)
def testFlagValidation ( self ) : failure_modes = [ ( 'configuration_file' , None ) , ( 'source_configuration_file' , None ) , ( 'source_configuration_file' , 'unreadable_file' ) , ] self . _ValidateFlagFailures ( failure_modes )
Test basic flag failures for configure_hadoop.
Test basic flag failures for configure_hadoop .
"""Test basic flag failures for configure_hadoop.""" # Validators get invoked on __setattr__ (overload for '=').
self