From 7f33ec44200e7fc3518b338b7ec22df1fd096163 Mon Sep 17 00:00:00 2001 From: James Thorniley Date: Thu, 3 Oct 2019 14:14:06 +0100 Subject: [PATCH] correct description of error for invalid state machine arn --- moto/stepfunctions/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/stepfunctions/models.py b/moto/stepfunctions/models.py index c783e91f..6217a6bc 100644 --- a/moto/stepfunctions/models.py +++ b/moto/stepfunctions/models.py @@ -143,7 +143,7 @@ class StepFunctionBackend(BaseBackend): def _validate_machine_arn(self, machine_arn): self._validate_arn(arn=machine_arn, regex=self.accepted_mchn_arn_format, - invalid_msg="Invalid Role Arn: '" + machine_arn + "'") + invalid_msg="Invalid State Machine Arn: '" + machine_arn + "'") def _validate_execution_arn(self, execution_arn): self._validate_arn(arn=execution_arn,