관리-도구
편집 파일: test_insert.cpython-311.pyc
� �܋f�% � � � d dl mZ d dl mZ d dl mZ d dlmZ d dlmZ d dlmZ d dlm Z dd l m Z dd l mZ ddl mZ ddl m Z dd l mZ G d� dej � � Z G d� dej � � Z G d� dej � � ZdZdS )� )�config)�engines)�fixtures)�eq_)�requirements)�Column)�Table� )�Integer)�literal)�literal_column)�select)�Stringc �j � e Zd ZdZdZdZddiZed� � � Zd� Z d� Z d � Zej d � � � ZdS )� LastrowidTest�eachT)�implements_get_lastrowid�autoincrement_insert�implicit_returningFc � � t d|t dt dd�� � t dt d� � � � � � t d|t dt dd� � � t dt d� � � � � � d S ) N� autoinc_pk�idT��primary_key�test_needs_autoincrement�data�2 � manual_pkF�r � autoincrement�r r r r ��cls�metadatas �w/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/sqlalchemy/testing/suite/test_insert.py� define_tableszLastrowidTest.define_tables s� � � �����g�4�$� � � � �6�6�"�:�:�&�&� � � � ����4��d�%�H�H�H��6�6�"�:�:�&�&� � � � � � c �� � |� |� � � � � � � � }t |t j j j df� � d S �N� some data��executer �firstr r �db�dialect�default_sequence_base��self�table�conn�rows r% �_assert_round_tripz LastrowidTest._assert_round_trip* �J � ��l�l�5�<�<�>�>�*�*�0�0�2�2���C�&�)�#�9�;�G�H�H�H�H�Hr'