diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2020-09-12 16:26:39 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2020-09-12 16:26:39 +0000 |
| commit | dad484e7fab006c5c951cd7e8134772d050ccff2 (patch) | |
| tree | 47d176074999835f3f5820347e0fc357188a7444 /test/sql | |
| parent | f53e5fc7cb408f067d18e7f3eabf993bd1887063 (diff) | |
| parent | 1d40a4ae159086b9ff6452a310d4cd57ef850813 (diff) | |
| download | sqlalchemy-dad484e7fab006c5c951cd7e8134772d050ccff2.tar.gz | |
Merge "Do not specify type on mssql by default"
Diffstat (limited to 'test/sql')
| -rw-r--r-- | test/sql/test_defaults.py | 4 | ||||
| -rw-r--r-- | test/sql/test_functions.py | 4 | ||||
| -rw-r--r-- | test/sql/test_insert_exec.py | 7 |
3 files changed, 5 insertions, 10 deletions
diff --git a/test/sql/test_defaults.py b/test/sql/test_defaults.py index 3733d70c7..f9bec7914 100644 --- a/test/sql/test_defaults.py +++ b/test/sql/test_defaults.py @@ -996,7 +996,7 @@ class PKIncrementTest(fixtures.TablesTest): metadata, Column( "id", - testing.db.dialect.sequence_default_column_type, + Integer, Sequence("ai_id_seq", optional=True), primary_key=True, ), @@ -1227,7 +1227,7 @@ class SpecialTypePKTest(fixtures.TestBase): @classmethod def setup_class(cls): class MyInteger(TypeDecorator): - impl = testing.db.dialect.sequence_default_column_type + impl = Integer def process_bind_param(self, value, dialect): if value is None: diff --git a/test/sql/test_functions.py b/test/sql/test_functions.py index 717fc47af..73954a8af 100644 --- a/test/sql/test_functions.py +++ b/test/sql/test_functions.py @@ -971,7 +971,7 @@ class ExecuteTest(fixtures.TestBase): meta, Column( "id", - testing.db.dialect.sequence_default_column_type, + Integer, Sequence("t1idseq", optional=True), primary_key=True, ), @@ -982,7 +982,7 @@ class ExecuteTest(fixtures.TestBase): meta, Column( "id", - testing.db.dialect.sequence_default_column_type, + Integer, Sequence("t2idseq", optional=True), primary_key=True, ), diff --git a/test/sql/test_insert_exec.py b/test/sql/test_insert_exec.py index 16b27aeaa..c4266603e 100644 --- a/test/sql/test_insert_exec.py +++ b/test/sql/test_insert_exec.py @@ -369,12 +369,7 @@ class TableInsertTest(fixtures.TablesTest): Table( "foo", metadata, - Column( - "id", - testing.db.dialect.sequence_default_column_type, - Sequence("t_id_seq"), - primary_key=True, - ), + Column("id", Integer, Sequence("t_id_seq"), primary_key=True,), Column("data", String(50)), Column("x", Integer), ) |
