관리-도구
편집 파일: test_autogen_identity.cpython-38.pyc
U 0?�f� � @ s� d dl Zd dl mZ d dl mZ d dl mZ d dl mZ d dlmZ ddlm Z d d l mZ d dlmZ d dlm Z d d lmZ d dlmZ G dd� de e�ZdS )� N)�Column)�Integer)�MetaData)�Table)�sqla_compat� )�AutogenFixtureTest� )�testing)�config)�eq_)�is_true)�TestBasec @ s� e Zd ZdZdZdd� Zdd� Zdd� Zd d � Ze � dedd �fedd �dfedd �eddd�fedd�edd�feddddd�eddddd�fedddd�edddd�f�ej jdd� ��Zdd� Zdd � ZdS )!�AutogenerateIdentityTest)Zidentity_columnsTc C s� t � }t � }td|tdtj�� td|tdtj�tdttjddd�dd�� | �||�}t|d d d � t|d d d� t|d d j d� |d d j }tt|tj�� t|j d� t|jd� d S ) N�user�other�id� � ��start� incrementT�Zprimary_keyr � add_column� r )r r r �sa�Textr �Identity�_fixturer �name�identityr � isinstancer r )�self�m1�m2�diffs�i� r'