tools/bdconfig/lib/google_hadoop/bdconfig_lib/config_commands_test.py
def testValidationFailsAfterRegistrationBeforeSettingValues(self):
    """Check flag validation fails after appcommand has registered its flags."""
    if self._test_cmd:
      # Empty flags right after setup/registration should fail validator.
      with self.assertRaises(flags.IllegalFlagValue):
        self._flag_values_copy._AssertAllValidators()
Check flag validation fails after appcommand has registered its flags.
Check flag validation fails after appcommand has registered its flags.
Check flag validation fails after appcommand has registered its flags .
def testValidationFailsAfterRegistrationBeforeSettingValues(self):
    if self._test_cmd:
      with self.assertRaises(flags.IllegalFlagValue):
        self._flag_values_copy._AssertAllValidators()
def testValidationFailsAfterRegistrationBeforeSettingValues ( self ) : if self . _test_cmd : with self . assertRaises ( flags . IllegalFlagValue ) : self . _flag_values_copy . _AssertAllValidators ( )
Check flag validation fails after appcommand has registered its flags.
Check flag validation fails after appcommand has registered its flags .
"""Check flag validation fails after appcommand has registered its flags.""" # Empty flags right after setup/registration should fail validator.
self