Bug Fix 11282: config.getini returns an empty list for an option of type string absent in INI file
This commit is contained in:
parent
78d45484ff
commit
9aaa3ab84a
|
@ -382,6 +382,7 @@ def test_my_option(pytester):
|
||||||
encoding="utf-8",
|
encoding="utf-8",
|
||||||
)
|
)
|
||||||
result = pytester.runpytest("--my_option=None", str(testdir))
|
result = pytester.runpytest("--my_option=None", str(testdir))
|
||||||
|
assert result.ret == 0
|
||||||
result.stdout.fnmatch_lines(["*1 passed*"])
|
result.stdout.fnmatch_lines(["*1 passed*"])
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue