keystone/keystone/tests
David Stanek ed2b65a5dd Force SQLite to properly deal with foreign keys
This will help with testing since SQLite will start enforcing the
foreign key relationships.

We will still have a problem with migrations for tables that refer to
each other. SQLite can't alter tables and sqlalchemy-migrates tmp table
strategy for migrations fails in this situation.

This patch did:
1. Add FK support for the tests. Disable it by default.
2. Make sure the Fk is disabled for test_sql_upgrade and
identity.backens.test_sql

Partial-Bug: #1744195

Co-Authored-By: wangxiyuan<wangxiyuan@huawei.com>
Change-Id: I276af7c0125dc2cb2c54215d54491665db1caa22
2018-02-14 16:54:15 +00:00
..
common Add application credential auth plugin 2018-01-27 12:00:19 +01:00
functional Fix a few spelling mistakes 2016-06-24 02:53:48 +00:00
hacking Remove duplicated hacking rule 2017-06-28 07:48:03 +00:00
unit Force SQLite to properly deal with foreign keys 2018-02-14 16:54:15 +00:00
__init__.py Move existing tests to unit 2015-02-13 15:54:29 -06:00