관리-도구
편집 파일: _suite.cpython-311.pyc
� R�DgH � �f � d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl m Z ddlZddlm Z ddlmZ ddlZd� Z ej d� � � G d � de� � � � Z ej d� � � G d� d e� � � � Z ej dd�� � G d� de� � � � Zd� ZdS )z= Python representations of the JSON Schema Test Suite tests. � )�partialN)�FilePath)�PY3)� validatorsc �( � t j � d� � } | �t | � � S t t j � � � � � � d� � } | � � � st d� � �| S )N�JSON_SCHEMA_TEST_SUITE�jsonz�Can't find the JSON-Schema-Test-Suite directory. Set the 'JSON_SCHEMA_TEST_SUITE' environment variable or run the tests from alongside a checkout of the suite.) �os�environ�getr � jsonschema�__file__�parent�sibling�isdir� ValueError)�roots �w/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/jsonschema/tests/_suite.py�_find_suiter s� � � �:�>�>�2�3�3�D�����~�~���J�'�(�(�/�/�1�1�9�9�&�A�A�D��:�:�<�<� �� � � � � �K� T)�hashc �^ � e Zd Z ej ej e� � �� � Zd� Zd� Z d� Z dS )�Suite)�defaultc � � | j � ddg� � }t j t j |j dg� � }d� t j |� d� � � � � � � D � � S )N�bin�jsonschema_suite�remotesc � � i | ]\ }}d |z |��S )zhttp://localhost:1234/� )�.0�name�schemas r � <dictcomp>z"Suite._remotes.<locals>.<dictcomp>1 s3 � � � � ���f� %�t�+�V� � � r �utf-8)�_root� descendant� subprocess�check_output�sys� executable�pathr �loads�decode�items)�selfr r s r �_remoteszSuite._remotes, s� � ��:�0�0�%�9K�1L�M�M���)� �^�-�2�I�>� � �� � � $� �7�>�>�'�+B�+B� C� C� I� I� K� K� � � � r c �n � t D ],}| � |�� � � |�� � �-d S )N)r"