#6191 Regressions found by: ipa.test_ipalib.test_plugable
Closed: Fixed None Opened 7 years ago by mbasti.

ipa.test_ipalib.test_plugable foudn 2 regressions.


        for b in range(2):
            base_name = get_base_name(b)
            base = locals()[base_name]
            ns = getattr(api, base_name)
>           assert isinstance(ns, plugable.NameSpace)
E           AttributeError: 'module' object has no attribute 'NameSpace'


    def test_init(self):
            Test the `ipalib.plugable.Plugin.__init__` method.
        api = 'the api instance'
        o = self.cls(api)
        assert o.name == 'Plugin'
>       assert isinstance(o.doc, text.Gettext)
E       assert isinstance('\n    Base class for all plugins.\n    ', <class 'ipalib.text.Gettext'>)
E        +  where '\n    Base class for all plugins.\n    ' = ipalib.plugable.Plugin().doc
E        +  and   <class 'ipalib.text.Gettext'> = text.Gettext

Please investigate if this is regression or expected change.

fixed in bunch:

  • 3c32af5 Tests: Failing test_ipalib/test_rpc
  • 774e4e4 Tests: Failing test_ipaserver/test_ldap test
  • ec0a58e Tests: Failing tests in test_ipalib/test_plugable

Metadata Update from @mbasti:
- Issue assigned to lryznaro
- Issue set to the milestone: FreeIPA 4.4.1

6 years ago

Login to comment on this ticket.