From 0bc5a6d2b4d19aa7ff2592d82caacf970d39e233 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Tue, 9 Jun 2015 17:16:40 +0200 Subject: Get some more test coverage for Config.__str__(). --- testsuite.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testsuite.py') diff --git a/testsuite.py b/testsuite.py index d33faa8..84f552e 100644 --- a/testsuite.py +++ b/testsuite.py @@ -458,6 +458,7 @@ def run_selftests(): os.environ["srctree"] = "baz" c = kconfiglib.Config("Kconfiglib/tests/Ktext", base_dir = "foobar") + c.load_config("Kconfiglib/tests/empty") c.set_print_warnings(False) c.set_print_undef_assign(True) @@ -469,7 +470,7 @@ def run_selftests(): Value of $SRCARCH at creation time : bar Source tree (derived from $srctree; defaults to '.' if $srctree isn't set) : baz - Most recently loaded .config : (no .config loaded) + Most recently loaded .config : Kconfiglib/tests/empty Print warnings : false Print assignments to undefined symbols : true""") -- cgit v1.2.3