summaryrefslogtreecommitdiffstats
path: root/tests/test_ipalib/test_cli.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-10-27 15:36:41 -0600
committerJason Gerard DeRose <jderose@redhat.com>2008-10-27 15:36:41 -0600
commitbb9691099b7b025fc491279314d8803f4fa3b571 (patch)
tree3213f7065cb62d461fde16c5f6789ecd8db1a7ad /tests/test_ipalib/test_cli.py
parente6254026fe73c423d357a2fa1489de35475da46c (diff)
downloadfreeipa-bb9691099b7b025fc491279314d8803f4fa3b571.tar.gz
freeipa-bb9691099b7b025fc491279314d8803f4fa3b571.tar.xz
freeipa-bb9691099b7b025fc491279314d8803f4fa3b571.zip
API.bootstrap() now calls Env._finalize_core(); updated unit tests
Diffstat (limited to 'tests/test_ipalib/test_cli.py')
-rw-r--r--tests/test_ipalib/test_cli.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_ipalib/test_cli.py b/tests/test_ipalib/test_cli.py
index 293371b79..399592704 100644
--- a/tests/test_ipalib/test_cli.py
+++ b/tests/test_ipalib/test_cli.py
@@ -149,9 +149,11 @@ class test_CLI(ClassChecker):
"""
(o, api, home) = self.new()
keys = tuple(api.env)
+ assert api.isdone('bootstrap') is False
assert o.isdone('parse_globals') is False
assert o.isdone('bootstrap') is False
o.bootstrap()
+ assert api.isdone('bootstrap') is True
assert o.isdone('parse_globals') is True
assert o.isdone('bootstrap') is True
e = raises(StandardError, o.bootstrap)