o
    iR                     @   sZ   d dl mZ d dlmZ d dlZd dlmZ dd Zdd Zej	
d	d
dgdd ZdS )    )Mapping)PathN)REGISTRYc                  C   s<   t d} t| tsJ | d dksJ | d dksJ d S )Nz'http://json-schema.org/draft-07/schema#z$idtitlezCore schema meta-schema)r   contents
isinstancer   )schema r	   {/home/ubuntu/veenaModal/venv/lib/python3.10/site-packages/jsonschema_specifications/tests/test_jsonschema_specifications.pytest_it_contains_metaschemas	   s   
r   c                   C   s   t  t ksJ d S )N)r   crawlr	   r	   r	   r
   test_it_is_crawled   s   r   ignored_relative_pathzschemas/.DS_Storezschemas/draft7/.DS_Storec                 C   sJ   ddl }t|jj}||  }|  zt|  W |  dS |  w )z
    Ignore files like .DS_Store if someone has actually caused one to exist.

    We test here through the private interface as of course the global has
    already loaded our schemas.
    r   N)jsonschema_specificationsr   __file__parenttouchlist_schemasunlink)r   r   packageignoredr	   r	   r
   test_it_copes_with_dotfiles   s   r   )collections.abcr   pathlibr   pytestr   r   r   r   markparametrizer   r	   r	   r	   r
   <module>   s    