관리-도구
편집 파일: test_autogen_comments.cpython-311.pyc
� �܋f� � � � d dl mZ d dl mZ d dl mZ d dl mZ d dl mZ ddlmZ dd lm Z dd lm Z ddlmZ G d� d ee� � ZdS )� )�Column)�Float)�MetaData)�String)�Table� )�AutogenFixtureTest� )�eq_)�mock)�TestBasec �F � e Zd ZdZdZd� Zd� Zd� Zd� Zd� Z d� Z d � Zd � ZdS )�AutogenerateCommentsTestT)�commentsc �J � t � � }t � � }t d|t dt d� � d�� � d�� � t d|t dt d� � d�� � d�� � | � ||� � }t |g � � d S )N� some_table�test� T��primary_key�this is some table��comment)r r r r �_fixturer ��self�m1�m2�diffss �|/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/alembic/testing/suite/test_autogen_comments.py�%test_existing_table_comment_no_changez>AutogenerateCommentsTest.test_existing_table_comment_no_change s� � � �Z�Z�� �Z�Z�� ����6�6�"�:�:�4�8�8�8�(� � � � � ����6�6�"�:�:�4�8�8�8�(� � � � � � � �b�"�%�%���E�2������ c �� � t � � }t � � }t d|t dt d� � d�� � � � t d|t dt d� � d�� � d�� � | � ||� � }t |d d d � � t |d d j d� � t |d d d � � d S )Nr r r Tr r r r �add_table_commentr � �r r r r r r r r s r �test_add_table_commentz/AutogenerateCommentsTest.test_add_table_comment( s� � � �Z�Z�� �Z�Z�� �l�B��v�v�b�z�z�t� L� L� L�M�M�M� ����6�6�"�:�:�4�8�8�8�(� � � � � � � �b�"�%�%���E�!�H�Q�K�,�-�-�-��E�!�H�Q�K��!5�6�6�6��E�!�H�Q�K������r"