| Server IP : 46.245.81.90 / Your IP : 216.73.216.85 Web Server : Apache System : Linux server3ir.xdlhost.com 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64 User : gmparts ( 1037) PHP Version : 8.1.34 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib64/python3.11/site-packages/_pytest/__pycache__/ |
Upload File : |
�
1j� � � � d dl mZ d dl mZ d dl mZ d dlZd dlmZ d dlmZ d dlm Z d dl
mZ d d lm
Z
d d
lmZ d dlmZ ded
dfd�Z ej d�� � de
e ded
ed fd�� � Zde
e d
dfd�Zde
e ded
dfd�Z ej d�� � ded
eeee f fd�� � ZdS )� )� Generator)�Optional)�UnionN)�saferepr)�Config)�ExitCode)�Parser)�
FixtureDef)�
SubRequest)�Scope�parser�returnc � � | � d� � }|� dddd�� � |� dddd �� � d S )
N�debugconfigz--setuponlyz--setup-only�
store_truez)Only setup fixtures, do not execute tests)�action�helpz--setupshowz--setup-showz,Show setup of fixtures while executing tests)�getgroup� addoption)r
�groups �c/builddir/build/BUILD/cloudlinux-venv-1.0.11/venv/lib/python3.11/site-packages/_pytest/setuponly.py�pytest_addoptionr sm � ��O�O�M�*�*�E� �O�O����
8� � � � �
�O�O����
;� � � � � � � T)�hookwrapper�
fixturedef�request)NNNc # �& K � d V � |j j j ryt |d� � rW| j rBt | j � � r| � |j � � }n| j |j }n|j }|| _ t | d� � d S d S )N�param�SETUP)
�config�option� setupshow�hasattr�ids�callabler �param_index�cached_param�_show_fixture_action)r r r s r �pytest_fixture_setupr) s� � � � �
�E�E�E��~��&� 2��7�G�$�$�
,� �~�
&��J�N�+�+� @�&�N�N�7�=�9�9�E�E�&�N�7�+>�?�E�E��
��&+�J�#��Z��1�1�1�1�1�2� 2r c � � | j �<| j j }|j j r&t | d� � t
| d� � r| `d S d S d S d S )N�TEARDOWNr'