Skip to content

Commit

Permalink
fix dotall
Browse files Browse the repository at this point in the history
  • Loading branch information
cmpadden committed Oct 28, 2024
1 parent a477e01 commit 89bb079
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 89bb079

Please sign in to comment.