| Server IP : 162.19.112.25 / Your IP : 216.73.216.88 Web Server : LiteSpeed System : Linux qamar.tasjeel.ae 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : archiart ( 1428) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib64/python3.11/site-packages/pytest_tap/__pycache__/ |
Upload File : |
�
�y�i`v�� � � d dl Z d dlZd dlZd dlmZ d dlmZ dZdZdZ G d� d� � Z
d � Z ej d
�� � dej
d
dfd�� � Zd� ZdS )� N)�format_as_diagnostics)�Tracker)�log�all)�stdoutr )�stderrr c � � e Zd Zdej ddfd�Z ej � � d� � � Z ej d�� � d� � � Z ej � � d ej fd
�� � Z
ej � � dej fd�� � ZdS )� TAPPlugin�config�returnNc �f � t |j j |j j |j j t
j �� � | _ | j j rB|j �
d� � }|r|j � |� � d| j _ |j j
| _ |j j | _ d S )N)�outdir�combined� streaming�stream�terminalreporterF)r �option�
tap_outdir�tap_combined�
tap_stream�sysr �_trackerr �
pluginmanager� getplugin�
unregister�header�showcapture�show_capture�tap_log_passing_tests�log_passing_tests)�selfr �reporters �c/builddir/build/BUILD/cloudlinux-venv-1.0.11/venv/lib/python3.11/site-packages/pytest_tap/plugin.py�__init__zTAPPlugin.__init__ s� � ���=�+��]�/��m�.��:�
�
�
��
� �=�"� )��+�5�5�6H�I�I�H��
:��$�/�/��9�9�9�
$)�D�M� �"�M�5���!'��!D����� c �| � |j j }|j s|j r!| j � |j � � dS dS )zOutput the plan line first.N)r r r r r �set_plan�testscollected)r! �sessionr s r# �pytest_runtestloopzTAPPlugin.pytest_runtestloop# sL � � ��&���� ;�� 3� ;��M�"�"�7�#9�:�:�:�:�:� ;� ;r% T)�optionalhookc � � | j j s| j j r)| j � t |� � � � dS dS )z,Output the plan line first when using xdist.N)r r r r'