summaryrefslogtreecommitdiffstats
path: root/ipalib/tests/test_cli.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-08-13 06:40:25 +0000
committerJason Gerard DeRose <jderose@redhat.com>2008-08-13 06:40:25 +0000
commitd422ef1134d81123b059574d13060811534e1d0d (patch)
treefe01382fcf2f9f2b19cb7e72f31bea1b9a297ade /ipalib/tests/test_cli.py
parent337c9964d42066368460da9a7c0d770142e2d1c3 (diff)
downloadfreeipa.git-d422ef1134d81123b059574d13060811534e1d0d.tar.gz
freeipa.git-d422ef1134d81123b059574d13060811534e1d0d.tar.xz
freeipa.git-d422ef1134d81123b059574d13060811534e1d0d.zip
146: Removed CLI.parse_kw() method and corresponding unit tests
Diffstat (limited to 'ipalib/tests/test_cli.py')
-rw-r--r--ipalib/tests/test_cli.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/ipalib/tests/test_cli.py b/ipalib/tests/test_cli.py
index 4e2942d7..ad02c645 100644
--- a/ipalib/tests/test_cli.py
+++ b/ipalib/tests/test_cli.py
@@ -86,18 +86,6 @@ class test_CLI(ClassChecker):
o = self.cls(api)
assert read_only(o, 'api') is api
- def test_parse_kw(self):
- """
- Tests the `parse_kw` method.
- """
- o = self.cls(None)
- kw = dict(
- hello='world',
- how_are='you',
- )
- args = tuple('--%s=%s' % (cli.to_cli(k), v) for (k,v) in kw.items())
- assert dict(o.parse_kw(args)) == kw
-
def test_parse(self):
"""
Tests the `parse` method.
@@ -114,7 +102,6 @@ class test_CLI(ClassChecker):
assert o.parse(args + opts) == (args, kw)
assert o.parse(opts + args) == (args, kw)
-
def test_mcl(self):
"""
Tests the `mcl` (Max Command Length) property .