tools/bdconfig/lib/google_hadoop/bdconfig_lib/xml_configuration_test.py
def testEmptyProperty(self):
    """Test empty values are distinct from None"""
    conf = xml_configuration.Configuration.EmptyConfiguration()

    # Empty string is considered a valid property value (even though the XML
    # dom would return None as the text node of the property element.
    conf.SetProperty('key', '')
    self.assertEqual('', conf.GetPropertyValue('key'))
Test empty values are distinct from None
Test empty values are distinct from None
Test empty values are distinct from None
def testEmptyProperty(self):
    conf = xml_configuration.Configuration.EmptyConfiguration()
    conf.SetProperty('key', '')
    self.assertEqual('', conf.GetPropertyValue('key'))
def testEmptyProperty ( self ) : conf = xml_configuration . Configuration . EmptyConfiguration ( ) conf . SetProperty ( 'key' , '' ) self . assertEqual ( '' , conf . GetPropertyValue ( 'key' ) )
Test empty values are distinct from None
Test empty values are distinct from None
"""Test empty values are distinct from None""" # Empty string is considered a valid property value (even though the XML # dom would return None as the text node of the property element.
self