diff --git a/tests/routes/task_orders/test_index.py b/tests/routes/task_orders/test_index.py index f5d81938..fa30e592 100644 --- a/tests/routes/task_orders/test_index.py +++ b/tests/routes/task_orders/test_index.py @@ -9,7 +9,9 @@ from tests.factories import TaskOrderFactory, WorkspaceFactory, UserFactory def xml_translated(val): - return re.sub("'", "'", str(val)) + val = re.sub("'", "'", str(val)) + val = re.sub(" & ", " & ", str(val)) + return val def test_download_summary(client, user_session):