#6190 Regressions found by test: ipa.test_ipalib.test_parameters
Closed: Fixed None Opened 7 years ago by mbasti.

ipa.test_ipalib.test_parameters found several regressions, it looks to me as the same root cause. Please investigate if this is regression or expected change.

ipa.test_ipalib.test_parameters.test_Bytes.test_init:

    def test_init(self):
        """
            Test the `ipalib.parameters.Bytes.__init__` method.
            """
        o = self.cls('my_bytes')
        assert o.type is bytes
        assert o.password is False
        assert o.rules == tuple()
>       assert o.class_rules == tuple()
E       assert (<bound metho...'my_bytes')>,) == ()
E         Left contains more items, first extra item: <bound method Bytes._rule_deprecated of Bytes('my_bytes')>
E         Full diff:
E         - (<bound method Bytes._rule_deprecated of Bytes('my_bytes')>,)
E         + ()

master:

  • 82e754e raise ValidationError when deprecated param is passed to command

ipa-4-4:

  • 4d4ea09 raise ValidationError when deprecated param is passed to command

Metadata Update from @mbasti:
- Issue assigned to mbabinsk
- Issue set to the milestone: FreeIPA 4.4.2

7 years ago

Login to comment on this ticket.

Metadata