Bug Fix 11282: config.getini returns an empty list for an option of type string absent in INI file

This commit is contained in:
TanyaAgarwal28 2023-10-11 11:43:34 +05:30
parent 78d45484ff
commit 9aaa3ab84a
1 changed files with 1 additions and 0 deletions

View File

@ -382,6 +382,7 @@ def test_my_option(pytester):
encoding="utf-8",
)
result = pytester.runpytest("--my_option=None", str(testdir))
assert result.ret == 0
result.stdout.fnmatch_lines(["*1 passed*"])