def get_default_values(self):
        if not self.process_default_values:
            # Old, pre-Optik 1.5 behaviour.
            return optparse.Values(self.defaults)

        defaults = self.update_defaults(self.defaults.copy()) # ours
        for option in self._get_all_options():
            default = defaults.get(option.dest)
            if isinstance(default, string_types):
                opt_str = option.get_opt_string()
                defaults[option.dest] = option.check_value(opt_str, default)
        return optparse.Values(defaults)
Test that a CertificateLength attribute can be created.
dataset/ETHPy150Open tschellenbach/Django-facebook/docs/docs_env/Lib/site-packages/pip-1.0-py2.5.egg/pip/baseparser.py/ConfigOptionParser.get_default_values--crossover with--dataset/ETHPy150Open OpenKMIP/PyKMIP/kmip/tests/unit/core/factories/test_attribute_values.py/TestAttributeValueFactory.test_create_certificate_length