Change test that was failing due to new Marshmallow behaviour

Boolean fields in marshmallow have various values that get changed to
True or False. The value 'Yes' now gets changed to True,  which was
causing a test to start failing. We could change the schemas to stop
'Yes' from being changed to True, but the data for boolean fields comes
from admin, where it is only allowed to have certain values anyway so
this just fixes the test.
This commit is contained in:
Katie Smith
2022-05-13 08:58:52 +01:00
parent 57788e5da1
commit 21c943484d

View File

@@ -887,7 +887,7 @@ def test_update_service_sets_volumes(
@pytest.mark.parametrize('value, expected_status, expected_persisted', (
(True, 200, True),
(False, 200, False),
('Yes', 400, None),
('unknown', 400, None),
))
def test_update_service_sets_research_consent(
admin_request,