§
|<ˆj. ã óÞ
— d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z dd lm
Z
dd
lmZ ddlmZ ddl
mZ dd
lmZ er˜ddlZddlZddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z ddlm!Z! ddl"m#Z# ddl$m%Z% ddl$m&Z& ddl'm(Z( ddl)m*Z* ddl)m+Z+ ddl)m,Z, dd l)m-Z- dd!l.m/Z/ dd"l.m0Z0 dd#l1m2Z2 dd$l3m4Z4 dd%l3m5Z5 dd&l6m7Z7 ed'¦ « Z8 e8d(¬)¦ « d¯d-„¦ « Z9 e8d(¬)¦ « d°d1„¦ « Z: e8d(¬)¦ « d±d4„¦ « Z; e8d(¬)¦ « d²d7„¦ « Z< e8d(¬8¦ « d*d+d9ee= d,ed6 fd:„¦ « Z> e8e¬;¦ « d5d6d9ee= d,dfd<„¦ « Z? e8d(¬8¦ « d5d6d,eed=e@f fd>„¦ « ZAd?d6d2d3d9ee= d,dfd@„ZB e8d(¬8¦ « dAdBd,eeC fdC„¦ « ZDdAdBd5d6dDedE d,dfdF„ZEd³dG„ZF e8d(¬8¦ « dHedIdJd5d6d,eeG fdK„¦ « ZHdLedIdJdMdNd,dOfdP„ZId´dR„ZJdµdT„ZKd¶dW„ZLdDe dE d,dfdX„ZM e8d(¬8¦ « d·dZ„¦ « ZN e8d(¬8¦ « d[edIdJd,ed\ fd]„¦ « ZO e8d(¬8¦ « dQed^ d_e=d`eCd,eddEdNeeda f fdb„¦ « ZP e8d(¬8¦ « dcddd,eeC fde„¦ « ZQd¸dh„ZR e8d(¬8¦ « d5d6dieCdje=d,ee= fdk„¦ « ZS e8d(¬8¦ « dAdBd,eeC fdl„¦ « ZT e8d(¬8¦ « dSdEdmdnd,eeC fdo„¦ « ZUdpe=dqe
e=ee@ e=f d,dfdr„ZVdpe=dqe
e=ee@ e=f d,dfds„ZWdµdt„ZXdµdu„ZYdSdEdmedE d,dfdv„ZZ e8d(¬8¦ « dSdEdwdxd,edy fdz„¦ « Z[d¹d{„Z\ e8d(¬8¦ « d5d6dUed| d,eee=ef fd}„¦ « Z] e8d(¬8¦ « d5d6d~ee=ef d,eed| fd„¦ « Z^ e8d(¬8¦ « d€d�d‚dƒd,eeC fd„„¦ « Z_ dºd…„Z`d³d†„ZadAdBd‡ee@d=f d,dfdˆ„Zbd²d‰„Zcd5d6dŠe=d‹eCdŒeCd,eee= f
d�„ZddSdEdŽe@d�e=d�e=d,df
d‘„Zed5d6d’ed“dJd,ee=ee= f fd”„Zfd5d6d’ed“dJdDe dE d,ee=ee= f f
d•„Zg e8d(¬8¦ « dUed| d5d6d,d–fd—„¦ « Zh d»dš„Zi e8d(¬)¦ « d›dœd�dždpe=dqee
e=e@e=f d,df
dŸ„¦ « Zjd5d6d,ee=ef fd „Zkd¡d¢d£d¤d,eeG fd¥„Zl d¼d§„Zmd¨eda dwd©dUed| d,dfdª„Znd½d„Zod½d®„ZpdS )¾zaHook specifications for pytest plugins which are invoked by pytest itself
and by builtin plugins.é )ÚPath)ÚAny)ÚDict)ÚList)ÚMapping)ÚOptional)ÚSequence)ÚTuple)Ú
TYPE_CHECKING)ÚUnion)ÚHookspecMarker)ÚWARNING_CMDLINE_PREPARSE_HOOKN)ÚLiteral)Ú
ExceptionRepr)Ú
ExceptionInfo)ÚConfig)ÚExitCode)ÚPytestPluginManager)Ú
_PluggyPlugin)ÚParser)Ú
FixtureDef)Ú
SubRequest)ÚSession)Ú Collector)ÚItem)ÚExit)ÚClass)ÚFunction)ÚMetafunc)ÚModule)Ú
CollectReport)Ú
TestReport)ÚCallInfo)ÚTerminalReporter)ÚTestShortLogReport)ÚLEGACY_PATHÚpytestT)ÚhistoricÚ
pluginmanagerr Úreturnc ó — dS )a* Called at plugin registration time to allow adding new hooks via a call to
``pluginmanager.add_hookspecs(module_or_class, prefix)``.
:param pytest.PytestPluginManager pluginmanager: The pytest plugin manager.
.. note::
This hook is incompatible with ``hookwrapper=True``.
N© )r) s úb/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/_pytest/hookspec.pyÚpytest_addhooksr. 7 ó € € € ó Úpluginr Úmanagerc ó — dS )zíA new pytest plugin got registered.
:param plugin: The plugin module or instance.
:param pytest.PytestPluginManager manager: pytest plugin manager.
.. note::
This hook is incompatible with ``hookwrapper=True``.
Nr, )r1 r2 s r- Úpytest_plugin_registeredr4 C r/ r0 Úparserr c ó — dS )aš Register argparse-style options and ini-style config values,
called once at the beginning of a test run.
.. note::
This function should be implemented only in plugins or ``conftest.py``
files situated at the tests root directory due to how pytest
:ref:`discovers plugins during startup