ۼ* d dl Z d dlZd dlZd dlZd dlZd dlZd dlmZmZ d dl m Z d dlmZ d dlm Z mZmZmZmZmZmZ ddlmZ d dlmZ d d lmZ d d lmZ G d de Z G d d Z G d de ZdS ) N)DistutilsErrorDistutilsOptionError)log) TestLoader)resource_listdirresource_existsnormalize_pathworking_setevaluate_markeradd_activation_listenerrequire )metadata)Command)unique_everseen) pass_nonec e Zd Zd ZddZdS )ScanningLoaderc T t j | t | _ d S N)r __init__set_visitedselfs w/builddir/build/BUILD/imunify360-venv-2.6.2/opt/imunify360/venv/lib/python3.11/site-packages/setuptools/command/test.pyr zScanningLoader.__init__ s" D!!! Nc || j v rdS | j | g }| t j | | t |d r'| | t |d rt |j d D ]}| d r|dk r|j dz |dd z }n't |j |d z r|j dz |z }nZ| | | t | d k r| | S |d S )a Return a suite of all tests cases contained in the given module If the module is a package, load tests from all the modules in it. If the module has an ``additional_tests`` function, call it and add the return value to the tests. Nadditional_tests__path__ z.pyz__init__.py.z/__init__.py r )r addappendr loadTestsFromModulehasattrr r __name__endswithr loadTestsFromNamelen suiteClass)r modulepatterntestsfile submodules r r' z"ScanningLoader.loadTestsFromModule sf T]""4 &!!! Z3D&AABBB6-.. 4LL00223336:&&