From 8d0329ecbbb236cc823a63c0f0672f3d321ef7b1 Mon Sep 17 00:00:00 2001 From: Maximilien Rigaut Date: Fri, 27 May 2022 23:44:30 +0200 Subject: [PATCH] Started the parser tests --- tests/modules/test_parser.py | 59 ++++++++++++++++++++++++++++++++++-- 1 file changed, 57 insertions(+), 2 deletions(-) diff --git a/tests/modules/test_parser.py b/tests/modules/test_parser.py index 2e7018f..5003870 100644 --- a/tests/modules/test_parser.py +++ b/tests/modules/test_parser.py @@ -1,5 +1,60 @@ +from io import StringIO +from itertools import zip_longest + import bootstraparse.modules.parser as parser +from bootstraparse.modules import syntax + +complete_list = StringIO(""" +<
> +<
> +<
> +<