From 71eed64ed22b99f834c7541e90c62a35dcbfd395 Mon Sep 17 00:00:00 2001 From: Leonardo Gama <51037424+Leo10Gama@users.noreply.github.com> Date: Mon, 31 Jul 2023 11:51:05 -0700 Subject: [PATCH] Repair failing config integration test (#5653) Co-authored-by: Leonardo Gama --- tests/integration/deploy/test_deploy_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/deploy/test_deploy_command.py b/tests/integration/deploy/test_deploy_command.py index a7ece04a5c..7221c40264 100644 --- a/tests/integration/deploy/test_deploy_command.py +++ b/tests/integration/deploy/test_deploy_command.py @@ -826,7 +826,7 @@ def test_deploy_with_invalid_config(self, template_file, config_file): deploy_process_execute = self.run_command(deploy_command_list) self.assertEqual(deploy_process_execute.process.returncode, 1) - self.assertIn("SamConfigFileReadException: Unexpected character", str(deploy_process_execute.stderr)) + self.assertIn("Error reading configuration: Unexpected character", str(deploy_process_execute.stderr)) @parameterized.expand([("aws-serverless-function.yaml", "samconfig-tags-list.toml")]) def test_deploy_with_valid_config_tags_list(self, template_file, config_file):