diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-10-04 16:01:33 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-10-05 10:19:16 -0400 |
commit | c2745d4790b60ab7c5c0dd3a4484f5004e4fdb35 (patch) | |
tree | fbe1c76afeac3216cf57fbce49c8a5ad7a2496b2 /tests/test_batch.py | |
parent | 529cd45dbd6c78a4bd64f1b99a7b7bd6544564a7 (diff) | |
download | alembic-c2745d4790b60ab7c5c0dd3a4484f5004e4fdb35.tar.gz |
Accommodate for mariadb 10.2 function reflection style
Fixed bug where server default comparison of CURRENT_TIMESTAMP would fail
on MariaDB 10.2 due to a change in how the function is
represented by the database during reflection.
Also implement mariadb 10.2 checks from SQLAlchemy to skip
other CHECK contraint related tests that can't pass.
Change-Id: Id77b527d3215d06e2f44a6cddeb77583e5b39101
Fixes: #455
Diffstat (limited to 'tests/test_batch.py')
-rw-r--r-- | tests/test_batch.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_batch.py b/tests/test_batch.py index 99d7956..734fc86 100644 --- a/tests/test_batch.py +++ b/tests/test_batch.py @@ -1438,6 +1438,10 @@ class BatchRoundTripMySQLTest(BatchRoundTripTest): def test_create_drop_index(self): super(BatchRoundTripMySQLTest, self).test_create_drop_index() + @exclusions.fails_if(config.requirements._mariadb_102) + def test_rename_column_boolean(self): + super(BatchRoundTripMySQLTest, self).test_rename_column_boolean() + class BatchRoundTripPostgresqlTest(BatchRoundTripTest): __only_on__ = "postgresql" |