From 89bb07939978cb124fd4984769b2daa371f7ecdc Mon Sep 17 00:00:00 2001 From: Colton Padden Date: Mon, 28 Oct 2024 16:29:03 -0400 Subject: [PATCH] fix dotall --- .../dagster/dagster_tests/cli_tests/test_project_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_modules/dagster/dagster_tests/cli_tests/test_project_commands.py b/python_modules/dagster/dagster_tests/cli_tests/test_project_commands.py index 59a78ea628776..5af6185d376b4 100644 --- a/python_modules/dagster/dagster_tests/cli_tests/test_project_commands.py +++ b/python_modules/dagster/dagster_tests/cli_tests/test_project_commands.py @@ -163,7 +163,7 @@ def test_scaffold_code_location_scaffold_command_fails_when_dir_path_exists(): with runner.isolated_filesystem(): os.mkdir("existing_dir") result = runner.invoke(scaffold_code_location_command, ["--name", "existing_dir"]) - assert re.match(r"The directory .* already exists", result.output) + assert re.match(r".*The directory .* already exists", result.output, re.DOTALL) assert result.exit_code != 0