Skip to content

Commit

Permalink
Fix failing test due to changing error message
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-melnacouzi committed Aug 27, 2024
1 parent 6377f7f commit 46f9885
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,7 @@ def test_templating_with_sql_both_old_and_new_syntax():
with pytest.raises(InvalidTemplate) as e:
templating_processor.process(setup_result.artifact_to_process, None)

assert (
"The SQL query in src/test_sql.sql mixes &{ ... } syntax and <% ... %> syntax."
in str(e.value)
)
assert "mixes &{ ... } syntax and <% ... %> syntax." in str(e.value)
assert setup_result.output_files[0].is_symlink()
assert setup_result.output_files[0].read_text() == file_contents[0]

Expand Down

0 comments on commit 46f9885

Please sign in to comment.