mirror of
https://github.com/beetbox/beets.git
synced 2026-07-16 14:07:40 -04:00
Add a failing test
This commit is contained in:
@@ -28,6 +28,16 @@ _p = pytest.param
|
||||
@pytest.mark.parametrize(
|
||||
"str_value, list_value, expected_warning, expected_list_value",
|
||||
[
|
||||
_p(
|
||||
"",
|
||||
None,
|
||||
str_field_deprecation,
|
||||
None,
|
||||
id="empty str value should become None, warning raised",
|
||||
marks=pytest.mark.xfail(
|
||||
reason="Empty string should not become ['']"
|
||||
),
|
||||
),
|
||||
_p(
|
||||
"value",
|
||||
None,
|
||||
|
||||
Reference in New Issue
Block a user