diff options
Diffstat (limited to 'tests/scripts/test_pconfig.py')
-rw-r--r-- | tests/scripts/test_pconfig.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/scripts/test_pconfig.py b/tests/scripts/test_pconfig.py index c9cd40eb..68543361 100644 --- a/tests/scripts/test_pconfig.py +++ b/tests/scripts/test_pconfig.py @@ -296,11 +296,10 @@ class WeirdSection(basics.ConfigSection): raise KeyError(name) if arg_type != "repr": raise errors.ConfigurationError(f"{arg_type!r} unsupported") - return "refs", [ + return ( + "refs", ["spork", basics.HardCodedConfigSection({"foo": "bar"})], - None, - None, - ] + ) class TestDumpUncollapsed(ArgParseMixin): @@ -337,7 +336,7 @@ class TestDumpUncollapsed(ArgParseMixin): " nested section 2", " ================", " # type: refs", - " 'sects.prepend' = ", + " 'sects' = ", " nested section 1", " ================", " named section 'spork'", |