관리-도구
편집 파일: test_format.cpython-37.pyc
B �pSe� � @ s\ d Z ddlmZ ddlmZmZmZ ddlmZ e d�Z ed�Zdd� Z G d d � d e�ZdS )zP Tests for the parts of jsonschema related to the :validator:`format` property. � )�TestCase)�FormatError�ValidationError� FormatChecker)�Draft4ValidatorzBoom!zBang!c C s | dkrt �t�d S )N�bang)�BANG�BOOM)�thing� r �M/opt/alt/python37/lib/python3.7/site-packages/jsonschema/tests/test_format.py�boom s r c @ sL e Zd Zdd� Zdd� Zdd� Zdd� Zd d � Zdd� Zd d� Z dd� Z dS )�TestFormatCheckerc C s t dd�}| �|j� d S )Nr )�formats)r ZassertFalse�checkers)�self�checkerr r r �test_it_can_validate_no_formats s z1TestFormatChecker.test_it_can_validate_no_formatsc C s&