From 02d16c56cd693dbadb87e7f4aa891d13a1afa3e8 Mon Sep 17 00:00:00 2001 From: ThrawnCA Date: Mon, 22 Aug 2022 13:43:43 +1000 Subject: [PATCH] [QOL-9252] collapse test JavaScript into one line - It's being inserted into a Behave step, so it can't have line breaks --- test/features/steps/steps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/features/steps/steps.py b/test/features/steps/steps.py index 8e99c0cb..ce7dfc62 100644 --- a/test/features/steps/steps.py +++ b/test/features/steps/steps.py @@ -315,7 +315,7 @@ def create_dataset_resource_availability(context, title, de_identified_data, function () { return $(this).html() == 'Test Organisation'; } - ).attr('value')""", + ).attr('value')""".replace('\n', ' '), resource_name=resource_name, resource_visible=resource_visible, governance_acknowledgement=governance_acknowledgement))