a
    !f                     @   s   d dl mZ d dl mZ d dlZd dlmZ d dlmZ d dlmZ d dl	m
Z
 d dl	mZ edd	d
dZejdde
e eee dddZejddeeeeef  dddZdS )    )Optional)UnionN)Config)ExitCode)Parser)
FixtureDef)
SubRequest)parserreturnc                 C   s    |  d}|jddddd d S )NZdebugconfigz--setupplanz--setup-plan
store_truezIShow what fixtures and tests would be executed but don't execute anything)actionhelp)ZgetgroupZ	addoption)r	   group r   R/var/www/html/python-backend/venv/lib/python3.9/site-packages/_pytest/setupplan.pypytest_addoption   s    
r   T)Ztryfirst)
fixturedefrequestr
   c                 C   s*   |j jjr&| |}d |d f| _| jS d S )N)configoption	setupplan	cache_keyZcached_result)r   r   Zmy_cache_keyr   r   r   pytest_fixture_setup   s
    

r   )r   r
   c                 C   s   | j jrd| j _d| j _d S )NT)r   r   Z	setuponlyZ	setupshow)r   r   r   r   pytest_cmdline_main#   s    r   )typingr   r   ZpytestZ_pytest.configr   r   Z_pytest.config.argparsingr   Z_pytest.fixturesr   r   r   Zhookimplobjectr   intr   r   r   r   r   <module>   s   

