bg ddlmZddlmZddlmZddlZddlmZddlmZddlm Z ddl m Z dd l m Z dd l mZdd lmZd e d dfdZejdde eded edfdZde ed dfdZde eded dfdZejdded eeee ffdZdS)) Generator)Optional)UnionN)saferepr)Config)ExitCode)Parser) FixtureDef) SubRequest)Scopeparserreturnc|d}|dddd|dddd dS) N debugconfigz --setuponlyz --setup-only store_truez)Only setup fixtures, do not execute tests)actionhelpz --setupshowz --setup-showz,Show setup of fixtures while executing tests)getgroup addoption)r groups b/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib/python3.11/site-packages/_pytest/setuponly.pypytest_addoptionrsm OOM * *E OO 8   OO ; T) hookwrapper fixturedefrequest)NNNc#&KdV|jjjryt|drW|jrBt |jr||j}n|j|j}n|j}||_t|ddSdS)NparamSETUP) configoption setupshowhasattridscallabler param_index cached_param_show_fixture_action)rrrs rpytest_fixture_setupr)s EEE~& 2 7G $ $ ,~ &JN++@&NN7=99EE&N7+>?EE &+J #Z11111 2 2rc|j<|jj}|jjr&t |dt |dr|`dSdSdSdS)NTEARDOWNr') cached_result_fixturemanagerr r!r"r(r#r')rr s rpytest_fixture_post_finalizerr.3sm++2 = " , Z 8 8 8z>22 ,+++ ,+ , , , ,rmsgc|jj}|jd}|r||}|ttt |j }| d|z| d |d|jd|j|dkr[t%d|jD}|r;| d d |t+|d r-| d t-|jd d||r|dSdS)Ncapturemanagerz z{step} {scope} {fixture}r)stepscopefixturerc3&K|] }|dk|V dS)rN).0args r z'_show_fixture_action..Ps,MMcC9**G EXj5rBBBEEEFFFHHJJJ '$$&&&&&''r)tryfirstr c6|jjr d|j_dS)NT)r! setuponlyr")r s rpytest_cmdline_mainrY]s }'"&  4r)typingrrrpytest_pytest._io.safereprr_pytest.configrr_pytest.config.argparsingr _pytest.fixturesr r _pytest.scoper rhookimplobjectr)r.strr(intrYr7rrres ))))))!!!!!!######,,,,,,'''''''''''' V      T"""26"2-72 222#"2&,j.@,T,,,,'Z%7'c'd''''B$8E#x-4H+I r