#6313 Failing test in test_ipalib/test_plugable
Closed: Fixed Opened by lryznaro.

test_ipalib/test_plugable.py::test_Plugin::test_init fails:

self = <ipatests.test_ipalib.test_plugable.test_Plugin object at 0x7fac920d0590>
    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
ipatests/test_ipalib/test_plugable.py:55: AssertionError

master:

  • 09a8f62d12c0be26741c24845cda2be83f14c503 test_plugable: update the rest of test_init

ipa-4-4:

  • 3fa092591b097f0cadd2d9fab1857bf8b360cbf7 test_plugable: update the rest of test_init

Metadata Update from @lryznaro:
- Issue assigned to jcholast
- Issue set to the milestone: FreeIPA 4.4.2

Metadata