def test_password_not_jinja_rendered_when_invalid(self, project, profiles_root) -> None:
        """Verifies that passwords that contain Jinja control characters, but which are
        not valid Jinja, do not cause errors."""
        self.write_profiles_yml(profiles_root, profile_with_jinjaesque_password)

        events = []
        result = dbtRunner(callbacks=[events.append]).invoke(["parse"])
        assert result.success

        for e in events:
            assert "no{{jinja{%re{#ndering" not in e.info.msg
Verifies that passwords that contain Jinja control characters, but which are
        not valid Jinja, do not cause errors.
tests/functional/profiles/test_profiles_yml.py