glance/glance/tests/functional/db
Abhishek Kekane 6e525647f6 Fix INSTR not supported for postgresql
Migration script 'train_migrate01_backend_to_store.py' doesn't support
INSTR function for postgresql database. INSTR function does support
sqlite3 and mysql.

Used 'POSITION' function instead of 'INSTR' function if database is
postgresql.
Closes-Bug: #1840898

Change-Id: I62c592f0885927b873ed35a1efe4a0f8407e7dee
2019-08-21 10:38:14 +00:00
..
migrations Fix INSTR not supported for postgresql 2019-08-21 10:38:14 +00:00
__init__.py Updates OpenStack LLC with OpenStack Foundation 2013-02-17 19:19:43 -08:00
base.py Windows: fix flaky tests 2019-03-25 14:23:21 +02:00
base_metadef.py Fix order of arguments in assertEqual 2015-09-16 02:55:33 -07:00
test_migrations.py Use oslo_db.sqlalchemy.test_fixtures 2018-02-19 11:45:23 -05:00
test_registry.py Separate out functional tests 2018-01-22 10:29:34 -06:00
test_rpc_endpoint.py Extracted HTTP response codes to constants in tests 2016-10-06 15:17:06 +00:00
test_simple.py Remove usage of parameter enforce_type 2017-05-31 14:32:20 +08:00
test_sqlalchemy.py Introduce ''mock_object'' method to base test class 2018-08-09 12:40:12 -04:00