summaryrefslogtreecommitdiffstats
path: root/tests/test_declarative_parser.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 20:16:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 20:16:53 +0000
commitee65fb850961435a3c8ed89ffb20d16f0e8505a3 (patch)
tree1fe559c0b1c6a2244e0e87e94c1d98222fa02e8c /tests/test_declarative_parser.py
parentAdding upstream version 0.1.24. (diff)
downloaddebputy-ee65fb850961435a3c8ed89ffb20d16f0e8505a3.tar.xz
debputy-ee65fb850961435a3c8ed89ffb20d16f0e8505a3.zip
Adding upstream version 0.1.25.upstream/0.1.25
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/test_declarative_parser.py')
-rw-r--r--tests/test_declarative_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_declarative_parser.py b/tests/test_declarative_parser.py
index a5061cb..94341ea 100644
--- a/tests/test_declarative_parser.py
+++ b/tests/test_declarative_parser.py
@@ -198,7 +198,7 @@ def test_declarative_parser_ok(
):
pg = ParserGenerator()
pg.register_mapped_type(TypeMapping(BinaryPackage, str, type_mapper_str2package))
- parser = pg.parser_from_typed_dict(
+ parser = pg.generate_parser(
parse_content,
source_content=source_content,
)