From 017f228dd9705c00982d925905a8a48bb03f45be Mon Sep 17 00:00:00 2001 From: mike cullerton Date: Mon, 21 Feb 2022 14:01:35 -0500 Subject: [PATCH] Cleanup - create name for reused data --- tests/workflow/test_workflow_delete_variables.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/workflow/test_workflow_delete_variables.py b/tests/workflow/test_workflow_delete_variables.py index 750e0f15..65fe19d6 100644 --- a/tests/workflow/test_workflow_delete_variables.py +++ b/tests/workflow/test_workflow_delete_variables.py @@ -10,9 +10,10 @@ class TestDeleteVariables(BaseTest): workflow = self.create_workflow('delete_variables') workflow_api = self.get_workflow_api(workflow) task = workflow_api.next_task - for item in ('a', 'b', 'c', 'd', 'e'): + items = ('a', 'b', 'c', 'd', 'e') + for item in items: self.assertIn(item, task.data) workflow_api = self.complete_form(workflow, task, {}) task = workflow_api.next_task - for item in ('a', 'b', 'c', 'd', 'e'): + for item in items: self.assertNotIn(item, task.data)