diff --git a/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_process_instance_processor.py b/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_process_instance_processor.py index 8d6c3ed1b..703d84cc2 100644 --- a/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_process_instance_processor.py +++ b/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_process_instance_processor.py @@ -509,19 +509,19 @@ class TestProcessInstanceProcessor(BaseTest): processor.save() processor = ProcessInstanceProcessor(process_instance) step1_task = processor.get_task_by_bpmn_identifier("step_1", processor.bpmn_process_instance) - assert (step1_task is not None) - assert (step1_task.state == TaskState.COMPLETED) + assert step1_task is not None + assert step1_task.state == TaskState.COMPLETED gateway_task = processor.get_task_by_bpmn_identifier("Gateway_Open", processor.bpmn_process_instance) - assert (gateway_task is not None) - assert (gateway_task.state == TaskState.READY) + assert gateway_task is not None + assert gateway_task.state == TaskState.READY gateway_task = processor.bpmn_process_instance.get_tasks(TaskState.READY)[0] processor.manual_complete_task(str(gateway_task.id), execute=True) processor.save() processor = ProcessInstanceProcessor(process_instance) gateway_task = processor.get_task_by_bpmn_identifier("Gateway_Open", processor.bpmn_process_instance) - assert (gateway_task is not None) - assert (gateway_task.state == TaskState.COMPLETED) + assert gateway_task is not None + assert gateway_task.state == TaskState.COMPLETED def test_properly_saves_tasks_when_running( self,