$65 GRAYBYTE WORDPRESS FILE MANAGER $55

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.15.130 | ADMIN IP 216.73.216.174
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/hc_python/lib/python3.12/site-packages/nose/plugins/__pycache__/

HOME
Current File : /opt/hc_python/lib/python3.12/site-packages/nose/plugins/__pycache__//collect.cpython-312.pyc
�

H��gT���dZddlmZddlmZddlZddlZddlZeje	�Z
Gd�de�ZGd�d�ZGd	�d
ej�Z
y)a

This plugin bypasses the actual execution of tests, and instead just collects
test names. Fixtures are also bypassed, so running nosetests with the 
collection plugin enabled should be very quick.

This plugin is useful in combination with the testid plugin (``--with-id``).
Run both together to get an indexed list of all tests, which will enable you to
run individual tests by index number.

This plugin is also useful for counting tests in a test suite, and making
people watching your demo think all of your tests pass.
�)�Plugin)�TestNc�*�eZdZdZdZdZd�Zd�Zd�Zy)�CollectOnlyzB
    Collect and output test names only, don't run any tests.
    zcollect-only�collect_onlyc	��|jdd|j|jd�d|j�z��y)z&Register commandline options.
        z--collect-only�
store_true�NOSE_COLLECT_ONLYz&Enable collect-only: %s [COLLECT_ONLY])�action�dest�default�helpN)�
add_option�	enableOpt�getr)�self�parser�envs   �C/opt/hc_python/lib/python3.12/site-packages/nose/plugins/collect.py�optionszCollectOnly.optionssB��	���*�!-�#�~�~�"%�'�'�*=�">�G��9�9�;� (�		�	)�c�b�tjd�t|j�|_y)z8Install collect-only suite class in TestLoader.
        zPreparing test loaderN)�log�debug�TestSuiteFactory�conf�
suiteClass)r�loaders  r�prepareTestLoaderzCollectOnly.prepareTestLoader's"��	�	�	�)�*�,�T�Y�Y�7��rc�d���tjd��t�t�sy��fd�}|S)z;Replace actual test with dummy that always passes.
        zPreparing test case %sNc�J���jjj��|j���jjj��|j���jjj	��|j	��y�N)r�plugins�	startTest�
addSuccess�stopTest)�resultr�tests ��r�runz(CollectOnly.prepareTestCase.<locals>.run5su���
�I�I���'�'��-����T�"��I�I���(�(��.����d�#��I�I���&�&�t�,��O�O�D�!r)rr�
isinstancer)rr(r)s`` r�prepareTestCasezCollectOnly.prepareTestCase.s-���	�	�	�*�D�1��$��%��	"��
rN)	�__name__�
__module__�__qualname__�__doc__�namerrrr+�rrrrs"����D��I�)�8�rrc��eZdZdZd�Zdd�Zy)rz7
    Factory for producing configured test suites.
    c��||_yr"�r)rrs  r�__init__zTestSuiteFactory.__init__Es	����	rc�0�t||j��S)Nr4)�	TestSuiter)r�tests�kws   r�__call__zTestSuiteFactory.__call__Hs����T�Y�Y�/�/rN)r1)r,r-r.r/r5r:r1rrrrAs����0rrc��eZdZdZdd�Zd�Zy)r7z�
    Basic test suite that bypasses most proxy and plugin calls, but does
    wrap tests in a nose.case.Test so prepareTestCase will be called.
    Nc��||_t|tj�r|�}tjd|�tjj||�y)Nz
TestSuite(%r))	rr*�collections�Callablerr�unittestr7r5)rr8rs   rr5zTestSuite.__init__QsD����	��e�[�1�1�2��G�E��	�	�/�5�)����#�#�D�%�0rc��tjd|�t|tj�r|j
j
|�y|j
j
t||j���y)NzAdd test %s)�config)	rrr*r?r7�_tests�appendrr)rr(s  r�addTestzTestSuite.addTestYsO���	�	�-��&��d�H�.�.�/��K�K���t�$��K�K���t�D����;�<r)r1N)r,r-r.r/r5rDr1rrr7r7Ls���1�=rr7)r/�nose.plugins.baser�	nose.caser�loggingr?r=�	getLoggerr,rrrr7r1rr�<module>rIsV���%������g����!��(�&�(�V0�0�=��"�"�=r


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
4 Apr 2025 8.03 AM
root / root
0755
__init__.cpython-312.pyc
6.404 KB
4 Apr 2025 8.03 AM
root / root
0644
allmodules.cpython-312.pyc
2.301 KB
4 Apr 2025 8.03 AM
root / root
0644
attrib.cpython-312.pyc
9.89 KB
4 Apr 2025 8.03 AM
root / root
0644
base.cpython-312.pyc
30.225 KB
4 Apr 2025 8.03 AM
root / root
0644
builtin.cpython-312.pyc
1.157 KB
4 Apr 2025 8.03 AM
root / root
0644
capture.cpython-312.pyc
5.098 KB
4 Apr 2025 8.03 AM
root / root
0644
collect.cpython-312.pyc
4.975 KB
4 Apr 2025 8.03 AM
root / root
0644
cover.cpython-312.pyc
13.917 KB
4 Apr 2025 8.03 AM
root / root
0644
debug.cpython-312.pyc
3.077 KB
4 Apr 2025 8.03 AM
root / root
0644
deprecated.cpython-312.pyc
2.106 KB
4 Apr 2025 8.03 AM
root / root
0644
doctests.cpython-312.pyc
21.004 KB
4 Apr 2025 8.03 AM
root / root
0644
errorclass.cpython-312.pyc
9.29 KB
4 Apr 2025 8.03 AM
root / root
0644
failuredetail.cpython-312.pyc
2.273 KB
4 Apr 2025 8.03 AM
root / root
0644
isolate.cpython-312.pyc
5.177 KB
4 Apr 2025 8.03 AM
root / root
0644
logcapture.cpython-312.pyc
12.53 KB
4 Apr 2025 8.03 AM
root / root
0644
manager.cpython-312.pyc
21.718 KB
4 Apr 2025 8.03 AM
root / root
0644
multiprocess.cpython-312.pyc
38.254 KB
4 Apr 2025 8.03 AM
root / root
0644
plugintest.cpython-312.pyc
17.021 KB
4 Apr 2025 8.03 AM
root / root
0644
prof.cpython-312.pyc
6.642 KB
4 Apr 2025 8.03 AM
root / root
0644
skip.cpython-312.pyc
2.459 KB
4 Apr 2025 8.03 AM
root / root
0644
testid.cpython-312.pyc
11.73 KB
4 Apr 2025 8.03 AM
root / root
0644
xunit.cpython-312.pyc
16.276 KB
4 Apr 2025 8.03 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF