mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 01:41:05 -05:00
use pytest.param to contain marks like xfail or skip
This commit is contained in:
@@ -161,11 +161,12 @@ def test_send_notification_with_placeholders_replaced(notify_api, sample_email_t
|
||||
),
|
||||
'6',
|
||||
),
|
||||
pytest.mark.xfail((
|
||||
pytest.param(
|
||||
None,
|
||||
('we consider None equivalent to missing personalisation'),
|
||||
'',
|
||||
)),
|
||||
marks=pytest.mark.xfail
|
||||
),
|
||||
])
|
||||
def test_send_notification_with_placeholders_replaced_with_unusual_types(
|
||||
client,
|
||||
|
||||
Reference in New Issue
Block a user