def set_value(self, value):
        v = 0
        measure_unit = 'px'
        try:
            v = int(float(value.replace('px', '')))
        except ValueError:
            try:
                v = int(float(value.replace('%', '')))
                measure_unit = '%'
            except ValueError:
                pass                
        self.numInput.set_value(v)
        self.dropMeasureUnit.set_value(measure_unit)
Test that a DigitalSignatureAlgorithm attribute can be created.
dataset/ETHPy150Open dddomodossola/remi/editor/editor_widgets.py/CssSizeInput.set_value--crossover with--dataset/ETHPy150Open OpenKMIP/PyKMIP/kmip/tests/unit/core/factories/test_attribute_values.py/TestAttributeValueFactory.test_create_digital_signature_algorithm