#6313 Failing test in test_ipalib/test_plugable
Closed: Fixed None Opened 7 years ago 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:

  • 09a8f62 test_plugable: update the rest of test_init

ipa-4-4:

  • 3fa0925 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

7 years ago

Login to comment on this ticket.

Metadata