ipa.test_ipalib.test_rpc.test_xmlclient.test_forward:
def test_forward(self): """ Test the `ipalib.rpc.xmlclient.forward` method. """ class user_add(Command): pass # Test that ValueError is raised when forwarding a command that is not # in api.Command: (o, api, home) = self.instance('Backend', in_server=False) > e = raises(ValueError, o.forward, 'user_add') ipatests/test_ipalib/test_rpc.py:215: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ipatests/util.py:379: in raises callback(*args, **kw) ipalib/rpc.py:983: in forward command = getattr(self.conn, name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = ipalib.rpc.xmlclient() def __get_conn(self): """ Return thread-local connection. """ if not hasattr(context, self.id): raise AttributeError( "{0} is not connected ({1} in {2})".format( self.name, self.id, > threading.currentThread().getName() ) ) E AttributeError: xmlclient is not connected (xmlclient_140017685402960 in MainThread)
fixed in bunch master:
Metadata Update from @mbasti: - Issue assigned to lryznaro - Issue set to the milestone: FreeIPA 4.4.1
Login to comment on this ticket.