qv$ G d d Z dS )c 4 e Zd ZdZeZd Zd Zd Zd Z d Z dS )AdapterzThe adapter processes a TAP test line and updates a unittest result. It is an alternative to TestCase to collect TAP results. c " || _ || _ d S )N) _filename_line)selffilenamelines ]/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/tap/adapter.py__init__zAdapter.__init__ s ! c | j j S )z/Get the short description for verbeose results.)r descriptionr s r shortDescriptionzAdapter.shortDescription s z%%r c | | | j j r'| d| j j j dS | j j rN| j j r| | n*| | t t df dS | j j r| | dS | | dS )zUpdate test result with the lines in the TAP file. Provide the interface that TestCase provides to a suite or runner. N) startTestr skipaddSkip directivereasontodookaddUnexpectedSuccessaddExpectedFailure Exception addSuccess addFailure)r results r __call__zAdapter.__call__ s :? NN4!5!<===F:? z} P++D1111))$IKK0NOOOF:= $d#####OOF#####r c | | t t df |j d \ }}|df|j d<