From 17fd9cc4315f171a8d9e9d189936eea8ba2af0c0 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Mon, 27 Oct 2008 14:49:34 -0600 Subject: Started cleanup work on CLI class, added unit tests for CLI.parse_globals() --- tests/test_ipalib/test_cli.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') diff --git a/tests/test_ipalib/test_cli.py b/tests/test_ipalib/test_cli.py index 10f239897..28e441e7d 100644 --- a/tests/test_ipalib/test_cli.py +++ b/tests/test_ipalib/test_cli.py @@ -139,3 +139,8 @@ class test_CLI(ClassChecker): assert o.cmd_argv == cmd_argv e = raises(StandardError, o.parse_globals) assert str(e) == 'CLI.parse_globals() already called' + + def test_bootstrap(self): + """ + Test the `ipalib.cli.CLI.bootstrap` method. + """ -- cgit