]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Provide primary key values for data in tests that aren't about primary keys.
authorJim Fulton <jim@jimfulton.info>
Tue, 18 May 2021 18:09:07 +0000 (14:09 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 24 May 2021 17:20:16 +0000 (13:20 -0400)
commit843427c9cc10036e164d85bf32f88a9bffa512bb
tree957c206167a272de6b06f7cf49a2843ebb011f84
parentb20b6f8fe7ea0198f819a0fd68ca076b6c760054
Provide primary key values for data in tests that aren't about primary keys.

(message written by Mike) some backends such as BigQuery have no
autoincrement mechanism at all.
while we would like to pursue a strategy where provisioning.py could
provide for an in-Python sequence generator, at least remove
the need for autoincrement in suite tests that don't need it.

Fixes: #6469
Closes: #6504
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/6504
Pull-request-sha: c075014ef7de33e6eb3f389d24251ba184655e0b

Change-Id: I98e237a38417b68c87d0201717205d7655b1f44e
lib/sqlalchemy/testing/suite/test_insert.py
lib/sqlalchemy/testing/suite/test_rowcount.py
lib/sqlalchemy/testing/suite/test_types.py