From 58746226d4b36bc40de91d4d1dd283e9faaff639 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 12 Feb 2010 16:34:21 -0500 Subject: Use the Output tuple to determine the order of output The attributes displayed is now dependant upon their definition in a Param. This enhances that, giving some level of control over how the result is displayed to the user. This also fixes displaying group membership, including failures of adding/removing entries. All tests pass now though there is still one problem. We need to return the dn as well. Once that is fixed we just need to comment out all the dn entries in the tests and they should once again pass. --- tests/test_xmlrpc/test_pwpolicy.py | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'tests/test_xmlrpc/test_pwpolicy.py') diff --git a/tests/test_xmlrpc/test_pwpolicy.py b/tests/test_xmlrpc/test_pwpolicy.py index 080f39bf..ceb4f8b6 100644 --- a/tests/test_xmlrpc/test_pwpolicy.py +++ b/tests/test_xmlrpc/test_pwpolicy.py @@ -148,17 +148,3 @@ class test_pwpolicy(XMLRPC_test): # Remove the user we created api.Command['user_del'](self.user) - - def test_a_pwpolicy_del(self): - """ - Remove the second test policy with `xmlrpc.pwpolicy_del`. - """ - assert api.Command['pwpolicy_del'](group=self.group2)['result'] is True - - # Verify that it is gone - try: - api.Command['pwpolicy_show'](group=self.group2) - except errors.NotFound: - pass - else: - assert False -- cgit