diff options
author | Guido Günther <agx@sigxcpu.org> | 2014-04-01 20:29:22 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-04-01 22:42:13 +0200 |
commit | 4c6b06773876a35f55f8f5667af65a917f823757 (patch) | |
tree | 8623bdccf7d7d1a0d559bdb8f38dae4af0e652f0 /tests/test_Config.py | |
parent | 03ada72d54480917c75e05568844e3f596e2cb64 (diff) |
Add minimal 'config' command
This only allows to print single config values so far.
Closes: #733470
Diffstat (limited to 'tests/test_Config.py')
-rw-r--r-- | tests/test_Config.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_Config.py b/tests/test_Config.py index 2bae765..cfdefd8 100644 --- a/tests/test_Config.py +++ b/tests/test_Config.py @@ -74,7 +74,7 @@ def test_parser_fallback(): >>> f = open(confname, 'w') >>> f.write('[DEFAULT]\\nthere = was\\n[foo]\\nthere = is\\n[git-foo]\\nno = truth\\n') >>> f.close() - >>> parser._parse_config_files() + >>> parser.parse_config_files() >>> parser.config['there'] 'is' >>> parser.config['no'] @@ -93,13 +93,13 @@ def test_filter(): >>> f = open(confname, 'w') >>> f.write('[bar]\\nfilter = asdf\\n') >>> f.close() - >>> parser._parse_config_files() + >>> parser.parse_config_files() >>> parser.config['filter'] ['asdf'] >>> f = open(confname, 'w') >>> f.write("[bar]\\nfilter = ['this', 'is', 'a', 'list']\\n") >>> f.close() - >>> parser._parse_config_files() + >>> parser.parse_config_files() >>> parser.config['filter'] ['this', 'is', 'a', 'list'] """ |