Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
jsonschema
/
tests
/
__pycache__
[ HOME ]
Exec
Submit
File Name : test_format.cpython-37.opt-1.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&