diff --git a/tests/functional/adapter/test_query_comment.py b/tests/functional/adapter/test_query_comment.py index f8181ba7..33cbdc7e 100644 --- a/tests/functional/adapter/test_query_comment.py +++ b/tests/functional/adapter/test_query_comment.py @@ -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('"', '\\"')