관리-도구
편집 파일: test_rowcount.cpython-38.pyc
U -?�f� � @ s� d dl mZ d dl mZ d dl mZ d dl mZ d dl mZ d dl mZ d dl mZ d dl mZ d d l m Z d d l mZ d dl mZ G dd � d ej �ZdS )� )� bindparam)�Column)�Integer)�MetaData)�select)�String)�Table)�testing)�text)�eq_)�fixturesc @ s� e Zd ZdZdZdZedd� �Zedd� �Zdd � Z e �d ddd dg�e �dddg�dd� ��Zdd� Z dd� Ze �dddg�e �dde jjfde jjfg�dd� ��Zdd� Zdd� Zdd � Ze jjd!d"� �Ze jjd#d$� �Zd%S )&�RowCountTestztest rowcount functionality)Z sane_rowcountTc C s4 t d|tdtddd�tdtd��tdtd ��� d S ) N� employees�employee_idFT�Z autoincrementZprimary_key�name�2 � department� )r r r r )�cls�metadata� r �V/opt/hc_python/lib64/python3.8/site-packages/sqlalchemy/testing/suite/test_rowcount.py� define_tables s ��zRowCountTest.define_tablesc C sF ddddddddd g | _ }| jj}|�|�� d d� t|�D �� d S )N)ZAngela�A)ZAndrewr )ZAnandr )�Bob�B)ZBobetter )ZBuffyr )ZCharlie�C)�Cynthiar )ZChrisr c S s g | ]\}\}}|||d ��qS )�r r r r )�.0�i�n�dr r r � <listcomp><