From 51a670e9d533d6076d077de26cb0ef3c6a53b4e1 Mon Sep 17 00:00:00 2001 From: Bobbi Brown Date: Fri, 17 Nov 2023 16:52:00 +0000 Subject: [PATCH] SMD-427 update tests to include new error_type param --- tests/test_routes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_routes.py b/tests/test_routes.py index 0b53546..a104f0c 100644 --- a/tests/test_routes.py +++ b/tests/test_routes.py @@ -80,12 +80,14 @@ def test_upload_xlsx_validation_errors(requests_mock, example_pre_ingest_data_fi "section": "section1", "cell_index": "A1", "description": "You are missing project locations. Please enter a project location.", + "error_type": "NonNullableConstraintFailure", }, { "sheet": "Tab2", "section": "section2", "cell_index": "B2-Y2", "description": "Start date in an incorrect format. Please enter a dates in the format 'Dec-22'", + "error_type": "TownsFundRoundFourValidationFailure", }, ], },