o
    Yi?                     @   s   U d dl Z ddlmZ ddlmZ ddlmZ ejejdd	id
Zejejdd	id
Z	ej
dddedej
ddde	dgZeej
 ed< ejee dedZe jjdd ZdS )    N   )types   )pytest_helper   )	constantsttlZ7600snameconfigz-Update has permission issues in the API mode.Z)test_caches_update_with_vertex_cache_nameZPERMISSION_DENIED)skip_in_api_moder
   Zexception_if_mldev
parametersZ(test_caches_update_with_mldev_cache_name	NOT_FOUND)r   r
   Zexception_if_vertexr   
test_tablezcaches.update)fileZglobals_for_fileZtest_methodr   c                    sR   | j jr| jjjtjtjdI d H }|sJ d S | jjjtjtjdI d H  d S )Nr	   )	Z_api_clientZvertexaiZaiocachesupdate_VERTEX_UPDATE_PARAMETERSr
   r   _MLDEV_UPDATE_PARAMETERS)clientresponse r   _/home/kim/smarthome/.venv/lib/python3.10/site-packages/google/genai/tests/caches/test_update.pytest_async_update:   s   r   )Zpytest r   r   r   Z_UpdateCachedContentParametersZCACHED_CONTENT_NAME_VERTEXr   ZCACHED_CONTENT_NAME_MLDEVr   ZTestTableItemr   list__annotations__setup__file__globalsZ
pytestmarkmarkZasyncior   r   r   r   r   <module>   sF   
	