From 3c32af55b646819fa8938d9a6efa6c3189525c37 Mon Sep 17 00:00:00 2001 From: Lenka Doudova Date: Tue, 23 Aug 2016 16:18:26 +0200 Subject: [PATCH] Tests: Failing test_ipalib/test_rpc Due to thin client implementation a part of the original test is no longer valid and causes test to fail. https://fedorahosted.org/freeipa/ticket/6192 Reviewed-By: Martin Basti --- ipatests/test_ipalib/test_rpc.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ipatests/test_ipalib/test_rpc.py b/ipatests/test_ipalib/test_rpc.py index f13e7cfcf..f03895123 100644 --- a/ipatests/test_ipalib/test_rpc.py +++ b/ipatests/test_ipalib/test_rpc.py @@ -209,14 +209,6 @@ class test_xmlclient(PluginTester): 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') - assert str(e) == '%s.forward(): %r not in api.Command' % ( - 'xmlclient', 'user_add' - ) - (o, api, home) = self.instance('Backend', user_add, in_server=False) args = (binary_bytes, utf8_bytes, unicode_str) kw = dict(one=binary_bytes, two=utf8_bytes, three=unicode_str)