Skip to content

Commit

Permalink
fix query comment check
Browse files Browse the repository at this point in the history
  • Loading branch information
ptiurin committed Aug 23, 2024
1 parent 2413b8e commit 2c1dc50
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/functional/adapter/test_query_comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,12 @@ def test_matches_comment(self, project) -> bool:


class TestMacroArgsQueryCommentsFirebolt(BaseMacroArgsQueryComments):
def test_matches_comment(self, project) -> bool:
def test_matches_comment(self, project) -> None:
logs = self.run_get_json()
expected_dct = {
'app': 'dbt++',
'dbt_version': dbt_version,
'macro_version': '0.1.0',
'message': 'blah: default',
"app": "dbt++",
"macro_version": "0.1.0",
"message": f"blah: {project.adapter.config.target_name}",
}
expected = '/* {} */'.format(
json.dumps(expected_dct, sort_keys=True).replace('"', '\\"')
Expand Down

0 comments on commit 2c1dc50

Please sign in to comment.