def test_password_jinja_rendered_when_valid(self, project, profiles_root) -> None:
        """Verifies that a password value that is valid Jinja is rendered as such,
        and that it doesn't cause problems if the resulting value looks like Jinja"""
        self.write_profiles_yml(profiles_root, profile_with_env_password)

        events = []
        with environ({"DBT_PASSWORD": jinjaesque_password}):
            result = dbtRunner(callbacks=[events.append]).invoke(["parse"])

        assert result.success
        assert project.adapter.config.credentials.password == jinjaesque_password
Verifies that a password value that is valid Jinja is rendered as such,
        and that it doesn't cause problems if the resulting value looks like Jinja
tests/functional/profiles/test_profiles_yml.py