관리-도구
편집 파일: requirements.cpython-37.pyc
B ��4]�h � @ sH d Z ddlZddlmZ ddlmZ G dd� de�ZG d d � d e�ZdS )z�Global database feature support policy. Provides decorators to mark tests requiring specific feature support from the target database. External dialect test suites should subclass SuiteRequirements to provide specific inclusion/exclusions. � N� )� exclusions� )�utilc @ s e Zd ZdS )�RequirementsN)�__name__� __module__�__qualname__� r r �R/opt/alt/python37/lib64/python3.7/site-packages/sqlalchemy/testing/requirements.pyr s r c @ s� e Zd Zedd� �Zedd� �Zedd� �Zedd� �Zed d � �Zedd� �Z ed d� �Z edd� �Zedd� �Zedd� �Z edd� �Zedd� �Zedd� �Zedd� �Zedd� �Zedd � �Zed!d"� �Zed#d$� �Zed%d&� �Zed'd(� �Zed)d*� �Zed+d,� �Zed-d.� �Zed/d0� �Zed1d2� �Zed3d4� �Zed5d6� �Zed7d8� �Zed9d:� �Z ed;d<� �Z!ed=d>� �Z"ed?d@� �Z#edAdB� �Z$edCdD� �Z%edEdF� �Z&edGdH� �Z'edIdJ� �Z(edKdL� �Z)edMdN� �Z*edOdP� �Z+edQdR� �Z,edSdT� �Z-edUdV� �Z.edWdX� �Z/edYdZ� �Z0ed[d\� �Z1ed]d^� �Z2ed_d`� �Z3edadb� �Z4edcdd� �Z5ededf� �Z6edgdh� �Z7edidj� �Z8edkdl� �Z9edmdn� �Z:edodp� �Z;edqdr� �Z<edsdt� �Z=edudv� �Z>edwdx� �Z?edydz� �Z@ed{d|� �ZAed}d~� �ZBedd�� �ZCed�d�� �ZDed�d�� �ZEed�d�� �ZFed�d�� �ZGed�d�� �ZHed�d�� �ZIed�d�� �ZJed�d�� �ZKed�d�� �ZLed�d�� �ZMed�d�� �ZNed�d�� �ZOed�d�� �ZPed�d�� �ZQed�d�� �ZRed�d�� �ZSed�d�� �ZTed�d�� �ZUed�d�� �ZVed�d�� �ZWed�d�� �ZXed�d�� �ZYed�d�� �ZZed�d�� �Z[ed�d�� �Z\ed�d�� �Z]ed�d�� �Z^ed�d�� �Z_ed�d�� �Z`ed�d�� �Zaed�d�� �Zbed�d�� �Zced�d �Zded�dĄ �Zeed�dƄ �Zfed�dȄ �Zged�dʄ �Zhed�d̄ �Zied�d΄ �Zjed�dЄ �Zked�d҄ �Zled�dԄ �Zmed�dք �Znd�d Zoed�dڄ �Zped�d܄ �Zqed�dބ �Zred�d� �Zsed�d� �Zted�d� �Zued�d� �Zved�d� �Zwed�d� �Zxed�d� �Zyed�d� �Zzed�d� �Z{ed�d� �Z|d�d� Z}d�d�� Z~ed�d�� �Zed�d�� �Z�d�d�� Z�d�d�� Z�d�S ( �SuiteRequirementsc C s t �� S )z/target platform can emit basic CreateTable DDL.)r �open)�selfr r r �create_table s zSuiteRequirements.create_tablec C s t �� S )z-target platform can emit basic DropTable DDL.)r r )r r r r � drop_table# s zSuiteRequirements.drop_tablec C s t �� S )z*Target database must support foreign keys.)r r )r r r r �foreign_keys) s zSuiteRequirements.foreign_keysc C s t �� S )zR"target database must support ON UPDATE..CASCADE behavior in foreign keys.)r r )r r r r �on_update_cascade/ s z#SuiteRequirements.on_update_cascadec C s t �� S )zWtarget database must *not* support ON UPDATE..CASCADE behavior in foreign keys.)r �closed)r r r r �non_updating_cascade6 s z&SuiteRequirements.non_updating_cascadec C s t �� S )N)r r )r r r r �deferrable_fks<