o
    }oip                     @   sF   d dl mZmZ d dlZddlmZ ejdeeeef fddZdS )    )Any	GeneratorN   )create_fake_endpoint_processreturnc                  c   s    t  } | V  |   dS )zFixture to create a Flask app with an OpenAI response.

    Being a "proper" fake endpoint, it responds with a payload which can be
    set via app.config.response.
    N)r   	terminate)p r	   V/home/ubuntu/.local/lib/python3.10/site-packages/tests/evaluation/adapters/conftest.pyfake_openai_endpoint   s   r   )typingr   r   pytest
test_utilsr   fixturer   r	   r	   r	   r
   <module>   s
   