"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "keystone/tests/unit/test_sql_upgrade.py" between
keystone-17.0.0.tar.gz and keystone-18.0.0.tar.gz

About: OpenStack Keystone (Core Service: Identity) provides an authentication and authorization service for other OpenStack services. Provides a catalog of endpoints for all OpenStack services.
The "Victoria" series (latest release).

test_sql_upgrade.py  (keystone-17.0.0):test_sql_upgrade.py  (keystone-18.0.0)
skipping to change at line 3422 skipping to change at line 3422
'access_rule', 'access_rule',
['id', 'external_id', 'user_id', 'service', 'path', 'method'] ['id', 'external_id', 'user_id', 'service', 'path', 'method']
) )
self.assertTrue(self.does_index_exist('access_rule', 'external_id')) self.assertTrue(self.does_index_exist('access_rule', 'external_id'))
self.assertTrue(self.does_index_exist('access_rule', 'user_id')) self.assertTrue(self.does_index_exist('access_rule', 'user_id'))
self.assertTrue(self.does_unique_constraint_exist( self.assertTrue(self.does_unique_constraint_exist(
'access_rule', 'external_id')) 'access_rule', 'external_id'))
self.assertTrue(self.does_unique_constraint_exist( self.assertTrue(self.does_unique_constraint_exist(
'access_rule', ['user_id', 'service', 'path', 'method'])) 'access_rule', ['user_id', 'service', 'path', 'method']))
def test_migration_066_add_role_and_prject_options_tables(self): def test_migration_066_add_role_and_project_options_tables(self):
self.expand(65) self.expand(65)
self.migrate(65) self.migrate(65)
self.contract(65) self.contract(65)
role_option = 'role_option' role_option = 'role_option'
project_option = 'project_option' project_option = 'project_option'
self.assertTableDoesNotExist(role_option) self.assertTableDoesNotExist(role_option)
self.assertTableDoesNotExist(project_option) self.assertTableDoesNotExist(project_option)
self.expand(66) self.expand(66)
skipping to change at line 3487 skipping to change at line 3487
membership_table, membership_table,
['user_id', 'group_id', 'idp_id', 'last_verified']) ['user_id', 'group_id', 'idp_id', 'last_verified'])
self.assertTableColumns( self.assertTableColumns(
idp_table, idp_table,
['id', 'domain_id', 'enabled', 'description', ['id', 'domain_id', 'enabled', 'description',
'authorization_ttl']) 'authorization_ttl'])
class MySQLOpportunisticFullMigration(FullMigration): class MySQLOpportunisticFullMigration(FullMigration):
FIXTURE = db_fixtures.MySQLOpportunisticFixture FIXTURE = db_fixtures.MySQLOpportunisticFixture
def test_migration_003_migrate_unencrypted_credentials(self):
self.skip_test_overrides('skipped to update u-c for PyMySql version'
'to 0.10.0')
def test_migration_012_add_domain_id_to_idp(self):
self.skip_test_overrides('skipped to update u-c for PyMySql version'
'to 0.10.0')
class PostgreSQLOpportunisticFullMigration(FullMigration): class PostgreSQLOpportunisticFullMigration(FullMigration):
FIXTURE = db_fixtures.PostgresqlOpportunisticFixture FIXTURE = db_fixtures.PostgresqlOpportunisticFixture
 End of changes. 2 change blocks. 
1 lines changed or deleted 9 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)