Add test case for invalid ini key in different section header

This commit is contained in:
Gleb Nikonorov 2020-05-31 00:49:21 -04:00
parent eef4f87e7b
commit 8f2c2a5dd9
1 changed files with 10 additions and 0 deletions

View File

@ -173,6 +173,16 @@ class TestParseIni:
),
(
"""
[some_other_header]
unknown_ini = value1
[pytest]
minversion = 5.0.0
""",
[],
[],
),
(
"""
[pytest]
minversion = 5.0.0
""",