summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAna Krivokapic <akrivoka@redhat.com>2013-04-08 11:04:17 -0400
committerMartin Kosek <mkosek@redhat.com>2013-04-11 15:57:45 +0200
commitff52c25ae299abba8bed653fe324951979a41293 (patch)
treec205ce7f2e425d3419a7929a2b6beac895781825 /tests
parentb25080bbca1d30c80ab8db4b8cca42cd85146a82 (diff)
downloadfreeipa-ff52c25ae299abba8bed653fe324951979a41293.tar.gz
freeipa-ff52c25ae299abba8bed653fe324951979a41293.tar.xz
freeipa-ff52c25ae299abba8bed653fe324951979a41293.zip
Fix output for some CLI commands
Fix output of dnsrecord_del: it now uses output.standard_delete and excludes --all and --raw flags. Fix output of sudorule_{add,remove}_option: they now use output.standard_entry and include --all and --raw flags. https://fedorahosted.org/freeipa/ticket/3503
Diffstat (limited to 'tests')
-rw-r--r--tests/test_cmdline/test_cli.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/test_cmdline/test_cli.py b/tests/test_cmdline/test_cli.py
index 75d1608ee..f66906c6a 100644
--- a/tests/test_cmdline/test_cli.py
+++ b/tests/test_cmdline/test_cli.py
@@ -147,8 +147,6 @@ class TestCLIParsing(object):
idnsname=u'ns',
del_all=True,
structured=False,
- raw=False,
- all=False,
version=API_VERSION)
with self.fake_stdin('YeS\n'):
self.check_command('dnsrecord_del test-example.com ns',
@@ -157,8 +155,6 @@ class TestCLIParsing(object):
idnsname=u'ns',
del_all=True,
structured=False,
- raw=False,
- all=False,
version=API_VERSION)
finally:
self.run_command('dnszone_del', idnsname=u'test-example.com')
@@ -184,8 +180,6 @@ class TestCLIParsing(object):
del_all=False,
sshfprecord=records,
structured=False,
- raw=False,
- all=False,
version=API_VERSION)
finally:
self.run_command('dnszone_del', idnsname=u'test-example.com')
@@ -261,8 +255,6 @@ class TestCLIParsing(object):
del_all=False,
txtrecord=[u'"A pretty little problem," said Holmes.'],
structured=False,
- raw=False,
- all=False,
version=API_VERSION)
finally:
self.run_command('dnszone_del', idnsname=u'test-example.com')